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

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

Issue 2799038: Added an about:about page (continuation)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/test/functional/special_tabs.py » ('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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const char kAboutBlankURL[] = "about:blank"; 44 const char kAboutBlankURL[] = "about:blank";
45 const char kAboutCacheURL[] = "about:cache"; 45 const char kAboutCacheURL[] = "about:cache";
46 const char kAboutCrashURL[] = "about:crash"; 46 const char kAboutCrashURL[] = "about:crash";
47 const char kAboutCreditsURL[] = "about:credits"; 47 const char kAboutCreditsURL[] = "about:credits";
48 const char kAboutHangURL[] = "about:hang"; 48 const char kAboutHangURL[] = "about:hang";
49 const char kAboutMemoryURL[] = "about:memory"; 49 const char kAboutMemoryURL[] = "about:memory";
50 const char kAboutNetInternalsURL[] = "about:net-internals"; 50 const char kAboutNetInternalsURL[] = "about:net-internals";
51 const char kAboutPluginsURL[] = "about:plugins"; 51 const char kAboutPluginsURL[] = "about:plugins";
52 const char kAboutShorthangURL[] = "about:shorthang"; 52 const char kAboutShorthangURL[] = "about:shorthang";
53 const char kAboutTermsURL[] = "about:terms"; 53 const char kAboutTermsURL[] = "about:terms";
54 const char kAboutAboutURL[] = "about:about";
55 const char kAboutDNSURL[] = "about:dns";
56 const char kAboutHistogramsURL[] = "about:histograms";
57 const char kAboutVersionURL[] = "about:version";
58
54 59
55 // Use an obfuscated URL to make this nondiscoverable, we only want this 60 // Use an obfuscated URL to make this nondiscoverable, we only want this
56 // to be used for testing. 61 // to be used for testing.
57 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 62 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
58 63
59 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; 64 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher";
60 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 65 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
61 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; 66 const char kChromeUIDevToolsURL[] = "chrome://devtools/";
62 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 67 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
63 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 68 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 129
125 // Prevent future modification of the standard schemes list. This is to 130 // Prevent future modification of the standard schemes list. This is to
126 // prevent accidental creation of data races in the program. AddStandardScheme 131 // 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 132 // 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 133 // thread. This is really easy to mess up, so we say that all calls to
129 // AddStandardScheme in Chrome must be inside this function. 134 // AddStandardScheme in Chrome must be inside this function.
130 url_util::LockStandardSchemes(); 135 url_util::LockStandardSchemes();
131 } 136 }
132 137
133 } // namespace chrome 138 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/test/functional/special_tabs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698