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

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

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « content/public/common/url_constants.h ('k') | content/public/renderer/render_thread.h » ('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 17 matching lines...) Expand all
28 const char kMetadataScheme[] = "metadata"; 28 const char kMetadataScheme[] = "metadata";
29 const char kSwappedOutScheme[] = "swappedout"; 29 const char kSwappedOutScheme[] = "swappedout";
30 const char kViewSourceScheme[] = "view-source"; 30 const char kViewSourceScheme[] = "view-source";
31 31
32 const char kAboutBlankURL[] = "about:blank"; 32 const char kAboutBlankURL[] = "about:blank";
33 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; 33 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
34 const char kChromeUIBlobInternalsHost[] = "blob-internals"; 34 const char kChromeUIBlobInternalsHost[] = "blob-internals";
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 kChromeUICrashURL[] = "chrome://crash"; 39 const char kChromeUICrashURL[] = "chrome://crash";
39 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 40 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
40 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 41 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
41 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 42 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
42 const char kChromeUIHangURL[] = "chrome://hang"; 43 const char kChromeUIHangURL[] = "chrome://hang";
43 const char kChromeUIKillURL[] = "chrome://kill"; 44 const char kChromeUIKillURL[] = "chrome://kill";
44 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 45 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
45 const char kChromeUIShorthangURL[] = "chrome://shorthang"; 46 const char kChromeUIShorthangURL[] = "chrome://shorthang";
46 47
47 } // namespace chrome 48 } // namespace chrome
48 49
49 namespace content { 50 namespace content {
50 51
51 const char kStandardSchemeSeparator[] = "://"; 52 const char kStandardSchemeSeparator[] = "://";
52 53
53 // This error URL is loaded in normal web renderer processes, so it should not 54 // This error URL is loaded in normal web renderer processes, so it should not
54 // have a chrome:// scheme that might let it be confused with a WebUI page. 55 // have a chrome:// scheme that might let it be confused with a WebUI page.
55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 56 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
56 57
57 // This URL is loaded when a page is swapped out and replaced by a page in a 58 // This URL is loaded when a page is swapped out and replaced by a page in a
58 // different renderer process. It must have a unique origin that cannot be 59 // different renderer process. It must have a unique origin that cannot be
59 // scripted by other pages in the process. 60 // scripted by other pages in the process.
60 const char kSwappedOutURL[] = "swappedout://"; 61 const char kSwappedOutURL[] = "swappedout://";
61 62
62 const char* const* GetSavableSchemes() { 63 const char* const* GetSavableSchemes() {
63 return GetSavableSchemesInternal(); 64 return GetSavableSchemesInternal();
64 } 65 }
65 66
66 } // namespace content 67 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698