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

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, 6 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) 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 16 matching lines...) Expand all
27 const char kMetadataScheme[] = "metadata"; 27 const char kMetadataScheme[] = "metadata";
28 const char kSwappedOutScheme[] = "swappedout"; 28 const char kSwappedOutScheme[] = "swappedout";
29 const char kViewSourceScheme[] = "view-source"; 29 const char kViewSourceScheme[] = "view-source";
30 30
31 const char kAboutBlankURL[] = "about:blank"; 31 const char kAboutBlankURL[] = "about:blank";
32 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; 32 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
33 const char kChromeUIBlobInternalsHost[] = "blob-internals"; 33 const char kChromeUIBlobInternalsHost[] = "blob-internals";
34 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; 34 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
35 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 35 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
36 const char kChromeUITcmallocHost[] = "tcmalloc"; 36 const char kChromeUITcmallocHost[] = "tcmalloc";
37 const char kChromeUIHistogramHost[] = "histograms";
37 const char kChromeUICrashURL[] = "chrome://crash"; 38 const char kChromeUICrashURL[] = "chrome://crash";
38 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 39 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
39 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 40 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
40 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 41 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
41 const char kChromeUIHangURL[] = "chrome://hang"; 42 const char kChromeUIHangURL[] = "chrome://hang";
42 const char kChromeUIKillURL[] = "chrome://kill"; 43 const char kChromeUIKillURL[] = "chrome://kill";
43 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 44 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
44 const char kChromeUIShorthangURL[] = "chrome://shorthang"; 45 const char kChromeUIShorthangURL[] = "chrome://shorthang";
45 46
46 } // namespace chrome 47 } // namespace chrome
47 48
48 namespace content { 49 namespace content {
49 50
50 const char kStandardSchemeSeparator[] = "://"; 51 const char kStandardSchemeSeparator[] = "://";
51 52
52 // This error URL is loaded in normal web renderer processes, so it should not 53 // This error URL is loaded in normal web renderer processes, so it should not
53 // have a chrome:// scheme that might let it be confused with a WebUI page. 54 // have a chrome:// scheme that might let it be confused with a WebUI page.
54 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
55 56
56 // This URL is loaded when a page is swapped out and replaced by a page in a 57 // This URL is loaded when a page is swapped out and replaced by a page in a
57 // different renderer process. It must have a unique origin that cannot be 58 // different renderer process. It must have a unique origin that cannot be
58 // scripted by other pages in the process. 59 // scripted by other pages in the process.
59 const char kSwappedOutURL[] = "swappedout://"; 60 const char kSwappedOutURL[] = "swappedout://";
60 61
61 const char* const* GetSavableSchemes() { 62 const char* const* GetSavableSchemes() {
62 return GetSavableSchemesInternal(); 63 return GetSavableSchemesInternal();
63 } 64 }
64 65
65 } // namespace content 66 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698