OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "chrome/common/url_constants.h" | 7 #include "chrome/common/url_constants.h" |
8 #include "googleurl/src/url_util.h" | 8 #include "googleurl/src/url_util.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 const char kChromeUIPluginsHost[] = "plugins"; | 91 const char kChromeUIPluginsHost[] = "plugins"; |
92 const char kChromeUIPrintHost[] = "print"; | 92 const char kChromeUIPrintHost[] = "print"; |
93 const char kChromeUIRemotingHost[] = "remoting"; | 93 const char kChromeUIRemotingHost[] = "remoting"; |
94 const char kChromeUIResourcesHost[] = "resources"; | 94 const char kChromeUIResourcesHost[] = "resources"; |
95 const char kChromeUISlideshowHost[] = "slideshow"; | 95 const char kChromeUISlideshowHost[] = "slideshow"; |
96 const char kChromeUIThemePath[] = "theme"; | 96 const char kChromeUIThemePath[] = "theme"; |
97 const char kChromeUIThumbnailPath[] = "thumb"; | 97 const char kChromeUIThumbnailPath[] = "thumb"; |
98 | 98 |
99 const char kSyncResourcesHost[] = "syncresources"; | 99 const char kSyncResourcesHost[] = "syncresources"; |
100 const char kSyncGaiaLoginPath[] = "gaialogin"; | 100 const char kSyncGaiaLoginPath[] = "gaialogin"; |
101 const char kSyncMergeAndSyncPath[] = "mergeandsync"; | 101 const char kSyncChooseDataTypesPath[] = "choosedatatypes"; |
102 const char kSyncThrobberPath[] = "throbber.png"; | 102 const char kSyncThrobberPath[] = "throbber.png"; |
103 const char kSyncSetupFlowPath[] = "setup"; | 103 const char kSyncSetupFlowPath[] = "setup"; |
104 const char kSyncSetupDonePath[] = "setupdone"; | 104 const char kSyncSetupDonePath[] = "setupdone"; |
105 | 105 |
106 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/"; | 106 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/"; |
107 | 107 |
108 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; | 108 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; |
109 const char kCloudPrintResourcesHost[] = "cloudprintresources"; | 109 const char kCloudPrintResourcesHost[] = "cloudprintresources"; |
110 | 110 |
111 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; | 111 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; |
(...skipping 12 matching lines...) Expand all Loading... |
124 | 124 |
125 // Prevent future modification of the standard schemes list. This is to | 125 // Prevent future modification of the standard schemes list. This is to |
126 // prevent accidental creation of data races in the program. AddStandardScheme | 126 // prevent accidental creation of data races in the program. AddStandardScheme |
127 // isn't threadsafe so must be called when GURL isn't used on any other | 127 // isn't threadsafe so must be called when GURL isn't used on any other |
128 // thread. This is really easy to mess up, so we say that all calls to | 128 // thread. This is really easy to mess up, so we say that all calls to |
129 // AddStandardScheme in Chrome must be inside this function. | 129 // AddStandardScheme in Chrome must be inside this function. |
130 url_util::LockStandardSchemes(); | 130 url_util::LockStandardSchemes(); |
131 } | 131 } |
132 | 132 |
133 } // namespace chrome | 133 } // namespace chrome |
OLD | NEW |