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

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

Issue 3675002: Add network_menu_ui.cc and network_menu.js (Closed)
Patch Set: . Created 10 years, 2 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
« 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) 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #if defined(OS_CHROMEOS) 123 #if defined(OS_CHROMEOS)
124 const char kChromeUIFileBrowseHost[] = "filebrowse"; 124 const char kChromeUIFileBrowseHost[] = "filebrowse";
125 const char kChromeUIImageBurnerHost[] = "imageburner"; 125 const char kChromeUIImageBurnerHost[] = "imageburner";
126 const char kChromeUIMediaplayerHost[] = "mediaplayer"; 126 const char kChromeUIMediaplayerHost[] = "mediaplayer";
127 const char kChromeUIMobileSetupHost[] = "mobilesetup"; 127 const char kChromeUIMobileSetupHost[] = "mobilesetup";
128 const char kChromeUIRegisterPageHost[] = "register"; 128 const char kChromeUIRegisterPageHost[] = "register";
129 const char kChromeUISlideshowHost[] = "slideshow"; 129 const char kChromeUISlideshowHost[] = "slideshow";
130 const char kChromeUISystemInfoHost[] = "system"; 130 const char kChromeUISystemInfoHost[] = "system";
131 const char kChromeUIMenu[] = "menu"; 131 const char kChromeUIMenu[] = "menu";
132 const char kChromeUIWrenchMenu[] = "wrench-menu"; 132 const char kChromeUIWrenchMenu[] = "wrench-menu";
133 const char kChromeUINetworkMenu[] = "network-menu";
133 #endif 134 #endif
134 135
135 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/"; 136 const char kAppCacheViewInternalsURL[] = "chrome://appcache-internals/";
136 137
137 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; 138 const char kBlobViewInternalsURL[] = "chrome://blob-internals/";
138 139
139 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; 140 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/";
140 const char kCloudPrintResourcesHost[] = "cloudprintresources"; 141 const char kCloudPrintResourcesHost[] = "cloudprintresources";
141 142
142 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; 143 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
(...skipping 28 matching lines...) Expand all
171 172
172 // Prevent future modification of the standard schemes list. This is to 173 // Prevent future modification of the standard schemes list. This is to
173 // prevent accidental creation of data races in the program. AddStandardScheme 174 // prevent accidental creation of data races in the program. AddStandardScheme
174 // isn't threadsafe so must be called when GURL isn't used on any other 175 // isn't threadsafe so must be called when GURL isn't used on any other
175 // thread. This is really easy to mess up, so we say that all calls to 176 // thread. This is really easy to mess up, so we say that all calls to
176 // AddStandardScheme in Chrome must be inside this function. 177 // AddStandardScheme in Chrome must be inside this function.
177 url_util::LockStandardSchemes(); 178 url_util::LockStandardSchemes();
178 } 179 }
179 180
180 } // namespace chrome 181 } // 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