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

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

Issue 5315006: chromeos: Fix DOMUI about:credits link. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: abstract out AboutSource init code from WillHandleBrowserAboutURL Created 9 years, 12 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') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "chrome/common/url_constants.h" 8 #include "chrome/common/url_constants.h"
9 #include "googleurl/src/url_util.h" 9 #include "googleurl/src/url_util.h"
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const char kAboutShorthangURL[] = "about:shorthang"; 65 const char kAboutShorthangURL[] = "about:shorthang";
66 const char kAboutTermsURL[] = "about:terms"; 66 const char kAboutTermsURL[] = "about:terms";
67 const char kAboutVaporwareURL[] = "about:vaporware"; 67 const char kAboutVaporwareURL[] = "about:vaporware";
68 const char kAboutVersionURL[] = "about:version"; 68 const char kAboutVersionURL[] = "about:version";
69 69
70 // Use an obfuscated URL to make this nondiscoverable, we only want this 70 // Use an obfuscated URL to make this nondiscoverable, we only want this
71 // to be used for testing. 71 // to be used for testing.
72 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 72 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
73 73
74 const char kChromeUIAboutAboutURL[] = "chrome://about/about"; 74 const char kChromeUIAboutAboutURL[] = "chrome://about/about";
75 const char kChromeUIAboutCreditsURL[] = "chrome://about/credits";
75 const char kChromeUIAboutURL[] = "chrome://settings/about"; 76 const char kChromeUIAboutURL[] = "chrome://settings/about";
76 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; 77 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher";
77 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 78 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
78 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; 79 const char kChromeUIBugReportURL[] = "chrome://bugreport/";
79 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; 80 const char kChromeUIConflictsURL[] = "chrome://conflicts/";
80 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; 81 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
81 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; 82 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
82 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 83 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
83 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 84 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
84 const char kChromeUIFavIconURL[] = "chrome://favicon/"; 85 const char kChromeUIFavIconURL[] = "chrome://favicon/";
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 224
224 // Prevent future modification of the standard schemes list. This is to 225 // Prevent future modification of the standard schemes list. This is to
225 // prevent accidental creation of data races in the program. AddStandardScheme 226 // prevent accidental creation of data races in the program. AddStandardScheme
226 // isn't threadsafe so must be called when GURL isn't used on any other 227 // isn't threadsafe so must be called when GURL isn't used on any other
227 // thread. This is really easy to mess up, so we say that all calls to 228 // thread. This is really easy to mess up, so we say that all calls to
228 // AddStandardScheme in Chrome must be inside this function. 229 // AddStandardScheme in Chrome must be inside this function.
229 url_util::LockStandardSchemes(); 230 url_util::LockStandardSchemes();
230 } 231 }
231 232
232 } // namespace chrome 233 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698