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

Side by Side Diff: content/public/common/url_constants.cc

Issue 11312016: content: Move two more url constants into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_view_impl.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/common/url_constants.h" 5 #include "content/public/common/url_constants.h"
6 6
7 #include "content/common/savable_url_schemes.h" 7 #include "content/common/savable_url_schemes.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 24 matching lines...) Expand all
35 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; 35 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
36 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 36 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
37 const char kChromeUITcmallocHost[] = "tcmalloc"; 37 const char kChromeUITcmallocHost[] = "tcmalloc";
38 const char kChromeUIHistogramHost[] = "histograms"; 38 const char kChromeUIHistogramHost[] = "histograms";
39 const char kChromeUICrashURL[] = "chrome://crash"; 39 const char kChromeUICrashURL[] = "chrome://crash";
40 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 40 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
41 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 41 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
42 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 42 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
43 const char kChromeUIHangURL[] = "chrome://hang"; 43 const char kChromeUIHangURL[] = "chrome://hang";
44 const char kChromeUIKillURL[] = "chrome://kill"; 44 const char kChromeUIKillURL[] = "chrome://kill";
45 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
46 const char kChromeUIShorthangURL[] = "chrome://shorthang";
47 45
48 } // namespace chrome 46 } // namespace chrome
49 47
50 namespace content { 48 namespace content {
51 49
52 const char kStandardSchemeSeparator[] = "://"; 50 const char kStandardSchemeSeparator[] = "://";
53 51
54 // This error URL is loaded in normal web renderer processes, so it should not 52 // This error URL is loaded in normal web renderer processes, so it should not
55 // have a chrome:// scheme that might let it be confused with a WebUI page. 53 // have a chrome:// scheme that might let it be confused with a WebUI page.
56 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 54 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
57 55
56 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
57 const char kChromeUIShorthangURL[] = "chrome://shorthang";
58
58 // This URL is loaded when a page is swapped out and replaced by a page in a 59 // This URL is loaded when a page is swapped out and replaced by a page in a
59 // different renderer process. It must have a unique origin that cannot be 60 // different renderer process. It must have a unique origin that cannot be
60 // scripted by other pages in the process. 61 // scripted by other pages in the process.
61 const char kSwappedOutURL[] = "swappedout://"; 62 const char kSwappedOutURL[] = "swappedout://";
62 63
63 const char* const* GetSavableSchemes() { 64 const char* const* GetSavableSchemes() {
64 return GetSavableSchemesInternal(); 65 return GetSavableSchemesInternal();
65 } 66 }
66 67
67 } // namespace content 68 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698