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

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

Issue 7553009: Add some browser tests for net-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Just test result of first test Created 9 years, 4 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 "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include "googleurl/src/url_util.h" 7 #include "googleurl/src/url_util.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 27 matching lines...) Expand all
38 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 38 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
39 const char kChromeUIHangURL[] = "chrome://hang/"; 39 const char kChromeUIHangURL[] = "chrome://hang/";
40 const char kChromeUIHistory2URL[] = "chrome://history2/"; 40 const char kChromeUIHistory2URL[] = "chrome://history2/";
41 const char kChromeUIHistoryURL[] = "chrome://history/"; 41 const char kChromeUIHistoryURL[] = "chrome://history/";
42 const char kChromeUIIPCURL[] = "chrome://ipc/"; 42 const char kChromeUIIPCURL[] = "chrome://ipc/";
43 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; 43 const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
44 const char kChromeUIKillURL[] = "chrome://kill/"; 44 const char kChromeUIKillURL[] = "chrome://kill/";
45 const char kChromeUIMemoryURL[] = "chrome://memory/"; 45 const char kChromeUIMemoryURL[] = "chrome://memory/";
46 const char kChromeUIMemoryRedirectURL[] = "chrome://memory-redirect/"; 46 const char kChromeUIMemoryRedirectURL[] = "chrome://memory-redirect/";
47 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 47 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
48 const char kChromeUINetInternalsURL[] = "chrome://net-internals/";
eroman 2011/08/03 00:32:24 That's curious, I seem to remember adding this con
mmenke 2011/08/03 00:53:22 There's a separate constant for the url without th
49 const char kChromeUINewProfile[] = "chrome://newprofile/";
48 const char kChromeUINewTabURL[] = "chrome://newtab/"; 50 const char kChromeUINewTabURL[] = "chrome://newtab/";
49 const char kChromeUINewProfile[] = "chrome://newprofile/";
50 const char kChromeUIPluginsURL[] = "chrome://plugins/"; 51 const char kChromeUIPluginsURL[] = "chrome://plugins/";
51 const char kChromeUIPrintURL[] = "chrome://print/"; 52 const char kChromeUIPrintURL[] = "chrome://print/";
52 const char kChromeUISessionsURL[] = "chrome://sessions/"; 53 const char kChromeUISessionsURL[] = "chrome://sessions/";
53 const char kChromeUISettingsURL[] = "chrome://settings/"; 54 const char kChromeUISettingsURL[] = "chrome://settings/";
54 const char kChromeUIShorthangURL[] = "chrome://shorthang/"; 55 const char kChromeUIShorthangURL[] = "chrome://shorthang/";
55 const char kChromeUITaskManagerURL[] = "chrome://tasks/"; 56 const char kChromeUITaskManagerURL[] = "chrome://tasks/";
56 const char kChromeUITermsURL[] = "chrome://terms/"; 57 const char kChromeUITermsURL[] = "chrome://terms/";
57 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; 58 const char kChromeUITextfieldsURL[] = "chrome://textfields/";
58 const char kChromeUIVersionURL[] = "chrome://version/"; 59 const char kChromeUIVersionURL[] = "chrome://version/";
59 const char kChromeUIWorkersURL[] = "chrome://workers/"; 60 const char kChromeUIWorkersURL[] = "chrome://workers/";
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 304
304 // Prevent future modification of the standard schemes list. This is to 305 // Prevent future modification of the standard schemes list. This is to
305 // prevent accidental creation of data races in the program. AddStandardScheme 306 // prevent accidental creation of data races in the program. AddStandardScheme
306 // isn't threadsafe so must be called when GURL isn't used on any other 307 // isn't threadsafe so must be called when GURL isn't used on any other
307 // thread. This is really easy to mess up, so we say that all calls to 308 // thread. This is really easy to mess up, so we say that all calls to
308 // AddStandardScheme in Chrome must be inside this function. 309 // AddStandardScheme in Chrome must be inside this function.
309 url_util::LockStandardSchemes(); 310 url_util::LockStandardSchemes();
310 } 311 }
311 312
312 } // namespace chrome 313 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698