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 6545001: Implement chrome://crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addresses review comments Created 9 years, 10 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
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 <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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 75 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
76 76
77 const char kChromeUIAboutAboutURL[] = "chrome://about/about"; 77 const char kChromeUIAboutAboutURL[] = "chrome://about/about";
78 const char kChromeUIAboutCreditsURL[] = "chrome://about/credits"; 78 const char kChromeUIAboutCreditsURL[] = "chrome://about/credits";
79 const char kChromeUIAboutURL[] = "chrome://settings/about"; 79 const char kChromeUIAboutURL[] = "chrome://settings/about";
80 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; 80 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher";
81 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 81 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
82 const char kChromeUIBugReportURL[] = "chrome://bugreport/"; 82 const char kChromeUIBugReportURL[] = "chrome://bugreport/";
83 const char kChromeUIConflictsURL[] = "chrome://conflicts/"; 83 const char kChromeUIConflictsURL[] = "chrome://conflicts/";
84 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/"; 84 const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
85 const char kChromeUICrashesURL[] = "chrome://crashes/";
85 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/"; 86 const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
86 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 87 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
87 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 88 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
88 const char kChromeUIFavIconURL[] = "chrome://favicon/"; 89 const char kChromeUIFavIconURL[] = "chrome://favicon/";
89 const char kChromeUIFlagsURL[] = "chrome://flags/"; 90 const char kChromeUIFlagsURL[] = "chrome://flags/";
90 const char kChromeUIHistory2URL[] = "chrome://history2/"; 91 const char kChromeUIHistory2URL[] = "chrome://history2/";
91 const char kChromeUIHistoryURL[] = "chrome://history/"; 92 const char kChromeUIHistoryURL[] = "chrome://history/";
92 const char kChromeUIIPCURL[] = "chrome://about/ipc"; 93 const char kChromeUIIPCURL[] = "chrome://about/ipc";
93 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; 94 const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
94 const char kChromeUINewTabURL[] = "chrome://newtab"; 95 const char kChromeUINewTabURL[] = "chrome://newtab";
(...skipping 12 matching lines...) Expand all
107 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; 108 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/";
108 const char kChromeUIRegisterPageURL[] = "chrome://register/"; 109 const char kChromeUIRegisterPageURL[] = "chrome://register/";
109 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; 110 const char kChromeUISlideshowURL[] = "chrome://slideshow/";
110 const char kChromeUISystemInfoURL[] = "chrome://system/"; 111 const char kChromeUISystemInfoURL[] = "chrome://system/";
111 #endif 112 #endif
112 113
113 // Keep this list sorted please. 114 // Keep this list sorted please.
114 const char kChromeUIBookmarksHost[] = "bookmarks"; 115 const char kChromeUIBookmarksHost[] = "bookmarks";
115 const char kChromeUIBugReportHost[] = "bugreport"; 116 const char kChromeUIBugReportHost[] = "bugreport";
116 const char kChromeUIConflictsHost[] = "conflicts"; 117 const char kChromeUIConflictsHost[] = "conflicts";
118 const char kChromeUICrashesHost[] = "crashes";
117 const char kChromeUIDevToolsHost[] = "devtools"; 119 const char kChromeUIDevToolsHost[] = "devtools";
118 const char kChromeUIDialogHost[] = "dialog"; 120 const char kChromeUIDialogHost[] = "dialog";
119 const char kChromeUIDownloadsHost[] = "downloads"; 121 const char kChromeUIDownloadsHost[] = "downloads";
120 const char kChromeUIExtensionsHost[] = "extensions"; 122 const char kChromeUIExtensionsHost[] = "extensions";
121 const char kChromeUIFavIconHost[] = "favicon"; 123 const char kChromeUIFavIconHost[] = "favicon";
122 const char kChromeUIFlagsHost[] = "flags"; 124 const char kChromeUIFlagsHost[] = "flags";
123 const char kChromeUIGpuInternalsHost[] = "gpu-internals"; 125 const char kChromeUIGpuInternalsHost[] = "gpu-internals";
124 const char kChromeUIHistoryHost[] = "history"; 126 const char kChromeUIHistoryHost[] = "history";
125 const char kChromeUIHistory2Host[] = "history2"; 127 const char kChromeUIHistory2Host[] = "history2";
126 const char kChromeUIInspectorHost[] = "inspector"; 128 const char kChromeUIInspectorHost[] = "inspector";
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 253
252 // Prevent future modification of the standard schemes list. This is to 254 // Prevent future modification of the standard schemes list. This is to
253 // prevent accidental creation of data races in the program. AddStandardScheme 255 // prevent accidental creation of data races in the program. AddStandardScheme
254 // isn't threadsafe so must be called when GURL isn't used on any other 256 // isn't threadsafe so must be called when GURL isn't used on any other
255 // thread. This is really easy to mess up, so we say that all calls to 257 // thread. This is really easy to mess up, so we say that all calls to
256 // AddStandardScheme in Chrome must be inside this function. 258 // AddStandardScheme in Chrome must be inside this function.
257 url_util::LockStandardSchemes(); 259 url_util::LockStandardSchemes();
258 } 260 }
259 261
260 } // namespace chrome 262 } // namespace chrome
OLDNEW
« chrome/browser/webui/crashes_ui.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