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

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

Issue 1036001: Add a DOMUI datasource that will handle the net-internals page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address mbelshe comments Created 10 years, 9 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 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const char kChromeUIBookmarksHost[] = "bookmarks"; 64 const char kChromeUIBookmarksHost[] = "bookmarks";
65 const char kChromeUIDevToolsHost[] = "devtools"; 65 const char kChromeUIDevToolsHost[] = "devtools";
66 const char kChromeUIDialogHost[] = "dialog"; 66 const char kChromeUIDialogHost[] = "dialog";
67 const char kChromeUIDownloadsHost[] = "downloads"; 67 const char kChromeUIDownloadsHost[] = "downloads";
68 const char kChromeUIExtensionsHost[] = "extensions"; 68 const char kChromeUIExtensionsHost[] = "extensions";
69 const char kChromeUIFavIconPath[] = "favicon"; 69 const char kChromeUIFavIconPath[] = "favicon";
70 const char kChromeUIHistoryHost[] = "history"; 70 const char kChromeUIHistoryHost[] = "history";
71 const char kChromeUIFileBrowseHost[] = "filebrowse"; 71 const char kChromeUIFileBrowseHost[] = "filebrowse";
72 const char kChromeUIMediaplayerHost[] = "mediaplayer"; 72 const char kChromeUIMediaplayerHost[] = "mediaplayer";
73 const char kChromeUIInspectorHost[] = "inspector"; 73 const char kChromeUIInspectorHost[] = "inspector";
74 // TODO(eroman): This value is temporary, while the page is being implemented.
75 const char kChromeUINetInternalsHost[] = "net2";
74 const char kChromeUINewTabHost[] = "newtab"; 76 const char kChromeUINewTabHost[] = "newtab";
75 const char kChromeUIThumbnailPath[] = "thumb"; 77 const char kChromeUIThumbnailPath[] = "thumb";
76 const char kChromeUIThemePath[] = "theme"; 78 const char kChromeUIThemePath[] = "theme";
77 79
78 const char kSyncResourcesHost[] = "syncresources"; 80 const char kSyncResourcesHost[] = "syncresources";
79 const char kSyncGaiaLoginPath[] = "gaialogin"; 81 const char kSyncGaiaLoginPath[] = "gaialogin";
80 const char kSyncMergeAndSyncPath[] = "mergeandsync"; 82 const char kSyncMergeAndSyncPath[] = "mergeandsync";
81 const char kSyncThrobberPath[] = "throbber.png"; 83 const char kSyncThrobberPath[] = "throbber.png";
82 const char kSyncSetupFlowPath[] = "setup"; 84 const char kSyncSetupFlowPath[] = "setup";
83 const char kSyncSetupDonePath[] = "setupdone"; 85 const char kSyncSetupDonePath[] = "setupdone";
84 86
85 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; 87 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
86 const char kNetworkViewCacheURL[] = "chrome://net-internals/view-cache"; 88 const char kNetworkViewCacheURL[] = "chrome://net-internals/view-cache";
87 89
88 void RegisterChromeSchemes() { 90 void RegisterChromeSchemes() {
89 // Don't need "chrome-internal" which was used in old versions of Chrome for 91 // Don't need "chrome-internal" which was used in old versions of Chrome for
90 // the new tab page. 92 // the new tab page.
91 url_util::AddStandardScheme(kChromeUIScheme); 93 url_util::AddStandardScheme(kChromeUIScheme);
92 url_util::AddStandardScheme(kExtensionScheme); 94 url_util::AddStandardScheme(kExtensionScheme);
93 } 95 }
94 96
95 } // namespace chrome 97 } // 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