OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 // Contains constants for known URLs and portions thereof. | 10 // Contains constants for known URLs and portions thereof. |
12 | 11 |
13 // TODO(jam): rename this to content. | 12 // TODO(jam): rename this to content. |
14 namespace chrome { | 13 namespace chrome { |
15 | 14 |
16 // Canonical schemes you can use as input to GURL.SchemeIs(). | 15 // Canonical schemes you can use as input to GURL.SchemeIs(). |
17 // TODO(jam): some of these don't below in the content layer, but are accessed | 16 // TODO(jam): some of these don't below in the content layer, but are accessed |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // Special URL used to swap out a view being rendered by another process. | 65 // Special URL used to swap out a view being rendered by another process. |
67 extern const char kSwappedOutURL[]; | 66 extern const char kSwappedOutURL[]; |
68 | 67 |
69 // Null terminated list of schemes that are savable. This function can be | 68 // Null terminated list of schemes that are savable. This function can be |
70 // invoked on any thread. | 69 // invoked on any thread. |
71 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 70 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
72 | 71 |
73 } // namespace content | 72 } // namespace content |
74 | 73 |
75 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 74 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |