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

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

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/default_plugin/default_plugin.gyp » ('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 { 9 namespace {
10 const char* kSavableSchemes[] = { 10 const char* kSavableSchemes[] = {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const char kChromeUIUserImageURL[] = "chrome://userimage/"; 95 const char kChromeUIUserImageURL[] = "chrome://userimage/";
96 #endif 96 #endif
97 97
98 #if defined(FILE_MANAGER_EXTENSION) 98 #if defined(FILE_MANAGER_EXTENSION)
99 const char kChromeUIFileManagerURL[] = "chrome://files/"; 99 const char kChromeUIFileManagerURL[] = "chrome://files/";
100 #endif 100 #endif
101 101
102 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) 102 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
103 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; 103 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/";
104 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; 104 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/";
105 const char kChromeUIRepostFormWarningURL[] = "chrome://repost-form-warning/"; 105 const char kChromeUITabModalDialogURL[] = "chrome://tab-modal-dialog/";
106 #endif 106 #endif
107 107
108 #if defined(USE_AURA) 108 #if defined(USE_AURA)
109 const char kChromeUIAppListURL[] = "chrome://app-list/"; 109 const char kChromeUIAppListURL[] = "chrome://app-list/";
110 #endif 110 #endif
111 111
112 // Add Chrome UI hosts here, in alphabetical order. 112 // Add Chrome UI hosts here, in alphabetical order.
113 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by 113 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by
114 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. 114 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider.
115 const char kChromeUIAboutHost[] = "about"; 115 const char kChromeUIAboutHost[] = "about";
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 const char kOemEulaURLPath[] = "oem"; 223 const char kOemEulaURLPath[] = "oem";
224 #endif 224 #endif
225 225
226 #if defined(FILE_MANAGER_EXTENSION) 226 #if defined(FILE_MANAGER_EXTENSION)
227 const char kChromeUIFileManagerHost[] = "files"; 227 const char kChromeUIFileManagerHost[] = "files";
228 #endif 228 #endif
229 229
230 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) 230 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
231 const char kChromeUICollectedCookiesHost[] = "collected-cookies"; 231 const char kChromeUICollectedCookiesHost[] = "collected-cookies";
232 const char kChromeUIHttpAuthHost[] = "http-auth"; 232 const char kChromeUIHttpAuthHost[] = "http-auth";
233 const char kChromeUIRepostFormWarningHost[] = "repost-form-warning"; 233 const char kChromeUITabModalDialogHost[] = "tab-modal-dialog";
234 #endif 234 #endif
235 235
236 #if defined(USE_AURA) 236 #if defined(USE_AURA)
237 const char kChromeUIAppListHost[] = "app-list"; 237 const char kChromeUIAppListHost[] = "app-list";
238 #endif 238 #endif
239 239
240 // Option sub pages. 240 // Option sub pages.
241 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be 241 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be
242 // listed by the built-in AutocompleteProvider. 242 // listed by the built-in AutocompleteProvider.
243 const char kAdvancedOptionsSubPage[] = "advanced"; 243 const char kAdvancedOptionsSubPage[] = "advanced";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 url_util::AddStandardScheme(kExtensionScheme); 347 url_util::AddStandardScheme(kExtensionScheme);
348 #if defined(OS_CHROMEOS) 348 #if defined(OS_CHROMEOS)
349 url_util::AddStandardScheme(kCrosScheme); 349 url_util::AddStandardScheme(kCrosScheme);
350 #endif 350 #endif
351 351
352 // This call will also lock the list of standard schemes. 352 // This call will also lock the list of standard schemes.
353 RegisterContentSchemes(kSavableSchemes); 353 RegisterContentSchemes(kSavableSchemes);
354 } 354 }
355 355
356 } // namespace chrome 356 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/default_plugin/default_plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698