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

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

Issue 7193003: Revert 89298 - Update BuiltinProvider to provide chrome:// URLs. (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') | ui/gfx/canvas.h » ('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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kChromeUIAboutURL[] = "chrome://about/";
56 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 56 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
57 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; 57 const char kChromeUIBugReportURL[] = "chrome://bugreport/";
58 const char kChromeUIChromeURLsURL[] = "chrome://chrome-urls/";
59 const char kChromeUICloudPrintResourcesURL[] = "chrome://cloudprintresources/"; 58 const char kChromeUICloudPrintResourcesURL[] = "chrome://cloudprintresources/";
60 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; 59 const char kChromeUIConflictsURL[] = "chrome://conflicts/";
61 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; 60 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
62 const char kChromeUICrashesURL[] = "chrome://crashes/"; 61 const char kChromeUICrashesURL[] = "chrome://crashes/";
63 const char kChromeUICrashURL[] = "chrome://crash/"; 62 const char kChromeUICrashURL[] = "chrome://crash/";
64 const char kChromeUICreditsURL[] = "chrome://credits/"; 63 const char kChromeUICreditsURL[] = "chrome://credits/";
65 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; 64 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
66 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 65 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
67 const char kChromeUIExtensionIconURL[] = "chrome://extension-icon/"; 66 const char kChromeUIExtensionIconURL[] = "chrome://extension-icon/";
68 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 67 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 299
301 // Prevent future modification of the standard schemes list. This is to 300 // Prevent future modification of the standard schemes list. This is to
302 // prevent accidental creation of data races in the program. AddStandardScheme 301 // prevent accidental creation of data races in the program. AddStandardScheme
303 // isn't threadsafe so must be called when GURL isn't used on any other 302 // isn't threadsafe so must be called when GURL isn't used on any other
304 // thread. This is really easy to mess up, so we say that all calls to 303 // thread. This is really easy to mess up, so we say that all calls to
305 // AddStandardScheme in Chrome must be inside this function. 304 // AddStandardScheme in Chrome must be inside this function.
306 url_util::LockStandardSchemes(); 305 url_util::LockStandardSchemes();
307 } 306 }
308 307
309 } // namespace chrome 308 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698