Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: chrome/common/url_constants.cc

Issue 7064052: Revert 88142 to fix sync_integration_tests offline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/renderer/about_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include "googleurl/src/url_util.h" 7 #include "googleurl/src/url_util.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const char kAboutShorthangURL[] = "about:shorthang"; 45 const char kAboutShorthangURL[] = "about:shorthang";
46 const char kAboutSyncURL[] = "about:sync"; 46 const char kAboutSyncURL[] = "about:sync";
47 const char kAboutSyncInternalsURL[] = "about:sync-internals"; 47 const char kAboutSyncInternalsURL[] = "about:sync-internals";
48 const char kAboutTermsURL[] = "about:terms"; 48 const char kAboutTermsURL[] = "about:terms";
49 const char kAboutVersionURL[] = "about:version"; 49 const char kAboutVersionURL[] = "about:version";
50 50
51 // Use an obfuscated URL to make this nondiscoverable, we only want this 51 // Use an obfuscated URL to make this nondiscoverable, we only want this
52 // to be used for testing. 52 // to be used for testing.
53 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 53 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
54 54
55 const char kChromeUIAboutURL[] = "chrome://about/"; 55 const char kChromeUIAboutAboutURL[] = "chrome://about/about/";
56 const char kChromeUIAboutCreditsURL[] = "chrome://about/credits/";
57 const char kChromeUIAboutURL[] = "chrome://settings/about/";
56 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 58 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
57 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; 59 const char kChromeUIBugReportURL[] = "chrome://bugreport/";
58 const char kChromeUICloudPrintResourcesURL[] = "chrome://cloudprintresources/";
59 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; 60 const char kChromeUIConflictsURL[] = "chrome://conflicts/";
60 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; 61 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
61 const char kChromeUICrashesURL[] = "chrome://crashes/"; 62 const char kChromeUICrashesURL[] = "chrome://crashes/";
62 const char kChromeUICrashURL[] = "chrome://crash/";
63 const char kChromeUICreditsURL[] = "chrome://credits/";
64 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; 63 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
65 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 64 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
66 const char kChromeUIExtensionIconURL[] = "chrome://extension-icon/"; 65 const char kChromeUIExtensionIconURL[] = "chrome://extension-icon/";
67 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 66 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
68 const char kChromeUIFaviconURL[] = "chrome://favicon/"; 67 const char kChromeUIFaviconURL[] = "chrome://favicon/";
69 const char kChromeUIFlagsURL[] = "chrome://flags/"; 68 const char kChromeUIFlagsURL[] = "chrome://flags/";
70 const char kChromeUIFlashURL[] = "chrome://flash/"; 69 const char kChromeUIFlashURL[] = "chrome://flash/";
71 const char kChromeUIHangURL[] = "chrome://hang/";
72 const char kChromeUIHistory2URL[] = "chrome://history2/"; 70 const char kChromeUIHistory2URL[] = "chrome://history2/";
73 const char kChromeUIHistoryURL[] = "chrome://history/"; 71 const char kChromeUIHistoryURL[] = "chrome://history/";
74 const char kChromeUIIPCURL[] = "chrome://ipc/";
75 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; 72 const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
76 const char kChromeUIKillURL[] = "chrome://kill/";
77 const char kChromeUIMemoryRedirectURL[] = "chrome://memory-redirect/";
78 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
79 const char kChromeUINewTabURL[] = "chrome://newtab/"; 73 const char kChromeUINewTabURL[] = "chrome://newtab/";
80 const char kChromeUIPluginsURL[] = "chrome://plugins/"; 74 const char kChromeUIPluginsURL[] = "chrome://plugins/";
81 const char kChromeUIPrintURL[] = "chrome://print/"; 75 const char kChromeUIPrintURL[] = "chrome://print/";
82 const char kChromeUISettingsURL[] = "chrome://settings/"; 76 const char kChromeUISettingsURL[] = "chrome://settings/";
83 const char kChromeUIShorthangURL[] = "chrome://shorthang/";
84 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; 77 const char kChromeUITextfieldsURL[] = "chrome://textfields/";
85 const char kChromeUIVersionURL[] = "chrome://version/";
86 78
87 #if defined(OS_CHROMEOS) 79 #if defined(OS_CHROMEOS)
80 const char kChromeUIAboutOSCreditsURL[] = "chrome://about/os-credits/";
88 const char kChromeUIActivationMessage[] = "chrome://activationmessage/"; 81 const char kChromeUIActivationMessage[] = "chrome://activationmessage/";
89 const char kChromeUIActiveDownloadsURL[] = "chrome://active-downloads/"; 82 const char kChromeUIActiveDownloadsURL[] = "chrome://active-downloads/";
90 const char kChromeUIChooseMobileNetworkURL[] = 83 const char kChromeUIChooseMobileNetworkURL[] =
91 "chrome://choose-mobile-network/"; 84 "chrome://choose-mobile-network/";
92 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; 85 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/";
93 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; 86 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/";
94 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; 87 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/";
95 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; 88 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/";
96 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; 89 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
97 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; 90 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/";
98 const char kChromeUIOobeURL[] = "chrome://oobe/"; 91 const char kChromeUIOobeURL[] = "chrome://oobe/";
99 const char kChromeUIOSCreditsURL[] = "chrome://os-credits/";
100 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/"; 92 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/";
101 const char kChromeUIRegisterPageURL[] = "chrome://register/"; 93 const char kChromeUIRegisterPageURL[] = "chrome://register/";
102 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; 94 const char kChromeUISlideshowURL[] = "chrome://slideshow/";
103 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/"; 95 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/";
104 const char kChromeUISystemInfoURL[] = "chrome://system/"; 96 const char kChromeUISystemInfoURL[] = "chrome://system/";
105 const char kChromeUIUserImageURL[] = "chrome://userimage/"; 97 const char kChromeUIUserImageURL[] = "chrome://userimage/";
106 const char kChromeUIEnterpriseEnrollmentURL[] = 98 const char kChromeUIEnterpriseEnrollmentURL[] =
107 "chrome://enterprise-enrollment/"; 99 "chrome://enterprise-enrollment/";
108 #endif 100 #endif
109 101
110 // Keep this list sorted please. 102 // Keep this list sorted please.
111 const char kChromeUIAboutHost[] = "about";
112 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
113 const char kChromeUIBlankHost[] = "blank";
114 const char kChromeUIBlobInternalsHost[] = "blob-internals";
115 const char kChromeUIBookmarksHost[] = "bookmarks"; 103 const char kChromeUIBookmarksHost[] = "bookmarks";
116 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
117 const char kChromeUIBugReportHost[] = "bugreport"; 104 const char kChromeUIBugReportHost[] = "bugreport";
118 const char kChromeUICacheHost[] = "cache";
119 const char kChromeUIChromeURLsHost[] = "chrome-urls";
120 const char kChromeUICloudPrintResourcesHost[] = "cloudprintresources";
121 const char kChromeUICloudPrintSetupHost[] = "cloudprintsetup";
122 const char kChromeUIConflictsHost[] = "conflicts"; 105 const char kChromeUIConflictsHost[] = "conflicts";
123 const char kChromeUIConstrainedHTMLTestHost[] = "constrained-test";
124 const char kChromeUICrashHost[] = "crash";
125 const char kChromeUICrashesHost[] = "crashes"; 106 const char kChromeUICrashesHost[] = "crashes";
126 const char kChromeUICreditsHost[] = "credits";
127 const char kChromeUIDefaultHost[] = "version";
128 const char kChromeUIDevToolsHost[] = "devtools"; 107 const char kChromeUIDevToolsHost[] = "devtools";
129 const char kChromeUIDialogHost[] = "dialog"; 108 const char kChromeUIDialogHost[] = "dialog";
130 const char kChromeUIDNSHost[] = "dns";
131 const char kChromeUIDownloadsHost[] = "downloads"; 109 const char kChromeUIDownloadsHost[] = "downloads";
132 const char kChromeUIExtensionIconHost[] = "extension-icon"; 110 const char kChromeUIExtensionIconHost[] = "extension-icon";
133 const char kChromeUIExtensionsHost[] = "extensions"; 111 const char kChromeUIExtensionsHost[] = "extensions";
134 const char kChromeUIFaviconHost[] = "favicon"; 112 const char kChromeUIFaviconHost[] = "favicon";
113 const char kChromeUITouchIconHost[] = "touch-icon";
135 const char kChromeUIFlagsHost[] = "flags"; 114 const char kChromeUIFlagsHost[] = "flags";
136 const char kChromeUIFlashHost[] = "flash"; 115 const char kChromeUIFlashHost[] = "flash";
137 const char kChromeUIGpuHost[] = "gpu";
138 const char kChromeUIGpuCleanHost[] = "gpuclean";
139 const char kChromeUIGpuCrashHost[] = "gpucrash";
140 const char kChromeUIGpuHangHost[] = "gpuhang";
141 const char kChromeUIGpuInternalsHost[] = "gpu-internals"; 116 const char kChromeUIGpuInternalsHost[] = "gpu-internals";
142 const char kChromeUIHangHost[] = "hang"; 117 const char kChromeUIHistoryHost[] = "history";
143 const char kChromeUIHistory2Host[] = "history2"; 118 const char kChromeUIHistory2Host[] = "history2";
144 const char kChromeUIHistoryHost[] = "history"; 119 const char kChromeUIInspectorHost[] = "inspector";
145 const char kChromeUIHistogramsHost[] = "histograms";
146 const char kChromeUIIPCHost[] = "ipc";
147 const char kChromeUIKeyboardHost[] = "keyboard"; 120 const char kChromeUIKeyboardHost[] = "keyboard";
148 const char kChromeUIKillHost[] = "kill";
149 const char kChromeUIMemoryHost[] = "memory";
150 const char kChromeUIMemoryRedirectHost[] = "memory-redirect";
151 const char kChromeUINetInternalsHost[] = "net-internals"; 121 const char kChromeUINetInternalsHost[] = "net-internals";
152 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
153 const char kChromeUINewTabHost[] = "newtab"; 122 const char kChromeUINewTabHost[] = "newtab";
154 const char kChromeUIPluginsHost[] = "plugins"; 123 const char kChromeUIPluginsHost[] = "plugins";
155 const char kChromeUIPrintHost[] = "print"; 124 const char kChromeUIPrintHost[] = "print";
156 const char kChromeUIResourcesHost[] = "resources"; 125 const char kChromeUIResourcesHost[] = "resources";
126 const char kChromeUIScreenshotPath[] = "screenshots";
157 const char kChromeUISettingsHost[] = "settings"; 127 const char kChromeUISettingsHost[] = "settings";
158 const char kChromeUIShorthangHost[] = "shorthang";
159 const char kChromeUIStatsHost[] = "stats";
160 const char kChromeUISyncHost[] = "sync";
161 const char kChromeUISyncInternalsHost[] = "sync-internals"; 128 const char kChromeUISyncInternalsHost[] = "sync-internals";
162 const char kChromeUISyncResourcesHost[] = "syncresources"; 129 const char kChromeUISyncResourcesHost[] = "syncresources";
163 const char kChromeUITasksHost[] = "tasks";
164 const char kChromeUITCMallocHost[] = "tcmalloc";
165 const char kChromeUITextfieldsHost[] = "textfields"; 130 const char kChromeUITextfieldsHost[] = "textfields";
166 const char kChromeUITermsHost[] = "terms";
167 const char kChromeUITouchIconHost[] = "touch-icon";
168 const char kChromeUIVersionHost[] = "version";
169
170 const char kChromeUIScreenshotPath[] = "screenshots";
171 const char kChromeUIThemePath[] = "theme"; 131 const char kChromeUIThemePath[] = "theme";
172 const char kChromeUIThumbnailPath[] = "thumb"; 132 const char kChromeUIThumbnailPath[] = "thumb";
173 133
174 #if defined(OS_LINUX)
175 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config";
176 const char kChromeUISandboxHost[] = "sandbox";
177 #endif
178
179 #if defined(OS_CHROMEOS) 134 #if defined(OS_CHROMEOS)
135 const char kChromeUIActiveDownloadsHost[] = "active-downloads";
180 const char kChromeUIActivationMessageHost[] = "activationmessage"; 136 const char kChromeUIActivationMessageHost[] = "activationmessage";
181 const char kChromeUIActiveDownloadsHost[] = "active-downloads";
182 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network"; 137 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network";
183 const char kChromeUICollectedCookiesHost[] = "collected-cookies"; 138 const char kChromeUICollectedCookiesHost[] = "collected-cookies";
184 const char kChromeUIEnterpriseEnrollmentHost[] = "enterprise-enrollment";
185 const char kChromeUIHttpAuthHost[] = "http-auth"; 139 const char kChromeUIHttpAuthHost[] = "http-auth";
186 const char kChromeUIImageBurnerHost[] = "imageburner"; 140 const char kChromeUIImageBurnerHost[] = "imageburner";
187 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay"; 141 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay";
188 const char kChromeUILoginContainerHost[] = "login-container";
189 const char kChromeUILoginHost[] = "login";
190 const char kChromeUIMediaplayerHost[] = "mediaplayer"; 142 const char kChromeUIMediaplayerHost[] = "mediaplayer";
191 const char kChromeUIMobileSetupHost[] = "mobilesetup"; 143 const char kChromeUIMobileSetupHost[] = "mobilesetup";
192 const char kChromeUINetworkHost[] = "network";
193 const char kChromeUIOobeHost[] = "oobe"; 144 const char kChromeUIOobeHost[] = "oobe";
194 const char kChromeUIOSCreditsHost[] = "os-credits";
195 const char kChromeUIProxySettingsHost[] = "proxy-settings"; 145 const char kChromeUIProxySettingsHost[] = "proxy-settings";
196 const char kChromeUIRegisterPageHost[] = "register"; 146 const char kChromeUIRegisterPageHost[] = "register";
197 const char kChromeUISlideshowHost[] = "slideshow"; 147 const char kChromeUISlideshowHost[] = "slideshow";
198 const char kChromeUISimUnlockHost[] = "sim-unlock"; 148 const char kChromeUISimUnlockHost[] = "sim-unlock";
199 const char kChromeUISystemInfoHost[] = "system"; 149 const char kChromeUISystemInfoHost[] = "system";
200 const char kChromeUIUserImageHost[] = "userimage";
201
202 const char kChromeUIMenu[] = "menu"; 150 const char kChromeUIMenu[] = "menu";
203 const char kChromeUIWrenchMenu[] = "wrench-menu"; 151 const char kChromeUIWrenchMenu[] = "wrench-menu";
204 const char kChromeUINetworkMenu[] = "network-menu"; 152 const char kChromeUINetworkMenu[] = "network-menu";
153 const char kChromeUIUserImageHost[] = "userimage";
154 const char kChromeUIEnterpriseEnrollmentHost[] = "enterprise-enrollment";
155 const char kChromeUILoginContainerHost[] = "login-container";
156 const char kChromeUILoginHost[] = "login";
157 #endif
205 158
206 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; 159 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/";
207 #endif 160
161 const char kBlobViewInternalsURL[] = "chrome://blob-internals/";
162
163 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/";
164 const char kCloudPrintResourcesHost[] = "cloudprintresources";
165 const char kCloudPrintSetupHost[] = "cloudprintsetup";
166
167 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
168 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/";
169
170 const char kSyncViewInternalsURL[] = "chrome://sync-internals/";
171 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/";
172
173 // GPU sub pages
174 const char kGpuInternalsURL[] = "chrome://gpu-internals/";
208 175
209 // Option sub pages. 176 // Option sub pages.
210 const char kAdvancedOptionsSubPage[] = "advanced"; 177 const char kAdvancedOptionsSubPage[] = "advanced";
211 const char kAutofillSubPage[] = "autofill"; 178 const char kAutofillSubPage[] = "autofill";
212 const char kBrowserOptionsSubPage[] = "browser"; 179 const char kBrowserOptionsSubPage[] = "browser";
213 const char kClearBrowserDataSubPage[] = "clearBrowserData"; 180 const char kClearBrowserDataSubPage[] = "clearBrowserData";
214 const char kContentSettingsSubPage[] = "content"; 181 const char kContentSettingsSubPage[] = "content";
215 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; 182 const char kContentSettingsExceptionsSubPage[] = "contentExceptions";
216 const char kImportDataSubPage[] = "importData"; 183 const char kImportDataSubPage[] = "importData";
217 const char kInstantConfirmPage[] = "instantConfirm"; 184 const char kInstantConfirmPage[] = "instantConfirm";
218 const char kLanguageOptionsSubPage[] = "languages"; 185 const char kLanguageOptionsSubPage[] = "languages";
219 const char kPersonalOptionsSubPage[] = "personal"; 186 const char kPersonalOptionsSubPage[] = "personal";
220 const char kPasswordManagerSubPage[] = "passwords"; 187 const char kPasswordManagerSubPage[] = "passwords";
221 const char kSearchEnginesSubPage[] = "searchEngines"; 188 const char kSearchEnginesSubPage[] = "searchEngines";
222 const char kSyncSetupSubPage[] = "syncSetup"; 189 const char kSyncSetupSubPage[] = "syncSetup";
223 #if defined(OS_CHROMEOS) 190 #if defined(OS_CHROMEOS)
224 const char kInternetOptionsSubPage[] = "internet"; 191 const char kInternetOptionsSubPage[] = "internet";
225 const char kSystemOptionsSubPage[] = "system"; 192 const char kSystemOptionsSubPage[] = "system";
226 #endif 193 #endif
227 194
228 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/";
229
230 const char kPasswordManagerLearnMoreURL[] = 195 const char kPasswordManagerLearnMoreURL[] =
231 #if defined(OS_CHROMEOS) 196 #if defined(OS_CHROMEOS)
232 "https://www.google.com/support/chromeos/bin/answer.py?answer=95606"; 197 "https://www.google.com/support/chromeos/bin/answer.py?answer=95606";
233 #else 198 #else
234 "https://www.google.com/support/chrome/bin/answer.py?answer=95606"; 199 "https://www.google.com/support/chrome/bin/answer.py?answer=95606";
235 #endif 200 #endif
236 201
237 const char kChromeHelpURL[] = 202 const char kChromeHelpURL[] =
238 #if defined(OS_CHROMEOS) 203 #if defined(OS_CHROMEOS)
239 "https://www.google.com/support/chromeos/"; 204 "https://www.google.com/support/chromeos/";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 260
296 // Prevent future modification of the standard schemes list. This is to 261 // Prevent future modification of the standard schemes list. This is to
297 // prevent accidental creation of data races in the program. AddStandardScheme 262 // prevent accidental creation of data races in the program. AddStandardScheme
298 // isn't threadsafe so must be called when GURL isn't used on any other 263 // isn't threadsafe so must be called when GURL isn't used on any other
299 // thread. This is really easy to mess up, so we say that all calls to 264 // thread. This is really easy to mess up, so we say that all calls to
300 // AddStandardScheme in Chrome must be inside this function. 265 // AddStandardScheme in Chrome must be inside this function.
301 url_util::LockStandardSchemes(); 266 url_util::LockStandardSchemes();
302 } 267 }
303 268
304 } // namespace chrome 269 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/renderer/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698