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

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

Issue 4524002: First cut of the about:conflicts page, listing all DLLs loaded in the Chrome ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 kExtensionScheme, 42 kExtensionScheme,
43 kChromeDevToolsScheme, 43 kChromeDevToolsScheme,
44 kChromeUIScheme, 44 kChromeUIScheme,
45 NULL 45 NULL
46 }; 46 };
47 47
48 const char kAboutAboutURL[] = "about:about"; 48 const char kAboutAboutURL[] = "about:about";
49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals"; 49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals";
50 const char kAboutBlankURL[] = "about:blank"; 50 const char kAboutBlankURL[] = "about:blank";
51 const char kAboutCacheURL[] = "about:cache"; 51 const char kAboutCacheURL[] = "about:cache";
52 const char kAboutConflicts[] = "about:conflicts";
52 const char kAboutCrashURL[] = "about:crash"; 53 const char kAboutCrashURL[] = "about:crash";
53 const char kAboutCreditsURL[] = "about:credits"; 54 const char kAboutCreditsURL[] = "about:credits";
54 const char kAboutDNSURL[] = "about:dns"; 55 const char kAboutDNSURL[] = "about:dns";
55 const char kAboutFlagsURL[] = "about:flags"; 56 const char kAboutFlagsURL[] = "about:flags";
56 const char kAboutGpuCrashURL[] = "about:gpucrash"; 57 const char kAboutGpuCrashURL[] = "about:gpucrash";
57 const char kAboutGpuHangURL[] = "about:gpuhang"; 58 const char kAboutGpuHangURL[] = "about:gpuhang";
58 const char kAboutHangURL[] = "about:hang"; 59 const char kAboutHangURL[] = "about:hang";
59 const char kAboutHistogramsURL[] = "about:histograms"; 60 const char kAboutHistogramsURL[] = "about:histograms";
60 const char kAboutMemoryURL[] = "about:memory"; 61 const char kAboutMemoryURL[] = "about:memory";
61 const char kAboutNetInternalsURL[] = "about:net-internals"; 62 const char kAboutNetInternalsURL[] = "about:net-internals";
62 const char kAboutPluginsURL[] = "about:plugins"; 63 const char kAboutPluginsURL[] = "about:plugins";
63 const char kAboutShorthangURL[] = "about:shorthang"; 64 const char kAboutShorthangURL[] = "about:shorthang";
64 const char kAboutTermsURL[] = "about:terms"; 65 const char kAboutTermsURL[] = "about:terms";
65 const char kAboutVaporwareURL[] = "about:vaporware"; 66 const char kAboutVaporwareURL[] = "about:vaporware";
66 const char kAboutVersionURL[] = "about:version"; 67 const char kAboutVersionURL[] = "about:version";
67 68
68 // Use an obfuscated URL to make this nondiscoverable, we only want this 69 // Use an obfuscated URL to make this nondiscoverable, we only want this
69 // to be used for testing. 70 // to be used for testing.
70 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 71 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
71 72
72 const char kChromeUIAboutAboutURL[] = "chrome://about/about"; 73 const char kChromeUIAboutAboutURL[] = "chrome://about/about";
73 const char kChromeUIAboutURL[] = "chrome://settings/about"; 74 const char kChromeUIAboutURL[] = "chrome://settings/about";
74 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; 75 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher";
75 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 76 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
76 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; 77 const char kChromeUIBugReportURL[] = "chrome://bugreport/";
78 const char kChromeUIConflictsURL[] = "chrome://conflicts/";
77 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; 79 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
78 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; 80 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
79 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 81 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
80 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 82 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
81 const char kChromeUIFavIconURL[] = "chrome://favicon/"; 83 const char kChromeUIFavIconURL[] = "chrome://favicon/";
82 const char kChromeUIFlagsURL[] = "chrome://flags/"; 84 const char kChromeUIFlagsURL[] = "chrome://flags/";
83 const char kChromeUIHistory2URL[] = "chrome://history2/"; 85 const char kChromeUIHistory2URL[] = "chrome://history2/";
84 const char kChromeUIHistoryURL[] = "chrome://history/"; 86 const char kChromeUIHistoryURL[] = "chrome://history/";
85 const char kChromeUIIPCURL[] = "chrome://about/ipc"; 87 const char kChromeUIIPCURL[] = "chrome://about/ipc";
86 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; 88 const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
(...skipping 10 matching lines...) Expand all
97 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; 99 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
98 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; 100 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/";
99 const char kChromeUIRegisterPageURL[] = "chrome://register/"; 101 const char kChromeUIRegisterPageURL[] = "chrome://register/";
100 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; 102 const char kChromeUISlideshowURL[] = "chrome://slideshow/";
101 const char kChromeUISystemInfoURL[] = "chrome://system/"; 103 const char kChromeUISystemInfoURL[] = "chrome://system/";
102 #endif 104 #endif
103 105
104 // Keep this list sorted please. 106 // Keep this list sorted please.
105 const char kChromeUIBookmarksHost[] = "bookmarks"; 107 const char kChromeUIBookmarksHost[] = "bookmarks";
106 const char kChromeUIBugReportHost[] = "bugreport"; 108 const char kChromeUIBugReportHost[] = "bugreport";
109 const char kChromeUIConflictsHost[] = "conflicts";
107 const char kChromeUIDevToolsHost[] = "devtools"; 110 const char kChromeUIDevToolsHost[] = "devtools";
108 const char kChromeUIDialogHost[] = "dialog"; 111 const char kChromeUIDialogHost[] = "dialog";
109 const char kChromeUIDownloadsHost[] = "downloads"; 112 const char kChromeUIDownloadsHost[] = "downloads";
110 const char kChromeUIExtensionsHost[] = "extensions"; 113 const char kChromeUIExtensionsHost[] = "extensions";
111 const char kChromeUIFavIconHost[] = "favicon"; 114 const char kChromeUIFavIconHost[] = "favicon";
112 const char kChromeUIFlagsHost[] = "flags"; 115 const char kChromeUIFlagsHost[] = "flags";
113 const char kChromeUIHistoryHost[] = "history"; 116 const char kChromeUIHistoryHost[] = "history";
114 const char kChromeUIHistory2Host[] = "history2"; 117 const char kChromeUIHistory2Host[] = "history2";
115 const char kChromeUIInspectorHost[] = "inspector"; 118 const char kChromeUIInspectorHost[] = "inspector";
116 const char kChromeUIKeyboardHost[] = "keyboard"; 119 const char kChromeUIKeyboardHost[] = "keyboard";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 188
186 // Prevent future modification of the standard schemes list. This is to 189 // Prevent future modification of the standard schemes list. This is to
187 // prevent accidental creation of data races in the program. AddStandardScheme 190 // prevent accidental creation of data races in the program. AddStandardScheme
188 // isn't threadsafe so must be called when GURL isn't used on any other 191 // isn't threadsafe so must be called when GURL isn't used on any other
189 // thread. This is really easy to mess up, so we say that all calls to 192 // thread. This is really easy to mess up, so we say that all calls to
190 // AddStandardScheme in Chrome must be inside this function. 193 // AddStandardScheme in Chrome must be inside this function.
191 url_util::LockStandardSchemes(); 194 url_util::LockStandardSchemes();
192 } 195 }
193 196
194 } // namespace chrome 197 } // namespace chrome
OLDNEW
« chrome/browser/enumerate_modules_model_win.cc ('K') | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698