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

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

Issue 10041017: Show gpu process stats in about:tcmalloc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address nits, call OnStatsForChildProcess directly from IO thread instead of posting to UI Created 8 years, 8 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') | 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) 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 <algorithm> 7 #include <algorithm>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "content/public/common/content_client.h" 10 #include "content/public/common/content_client.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const char kSwappedOutScheme[] = "swappedout"; 51 const char kSwappedOutScheme[] = "swappedout";
52 const char kViewSourceScheme[] = "view-source"; 52 const char kViewSourceScheme[] = "view-source";
53 53
54 const char kStandardSchemeSeparator[] = "://"; 54 const char kStandardSchemeSeparator[] = "://";
55 55
56 const char kAboutBlankURL[] = "about:blank"; 56 const char kAboutBlankURL[] = "about:blank";
57 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; 57 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
58 const char kChromeUIBlobInternalsHost[] = "blob-internals"; 58 const char kChromeUIBlobInternalsHost[] = "blob-internals";
59 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; 59 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
60 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 60 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
61 const char kChromeUITcmallocHost[] = "tcmalloc";
61 const char kChromeUICrashURL[] = "chrome://crash"; 62 const char kChromeUICrashURL[] = "chrome://crash";
62 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 63 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
63 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 64 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
64 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 65 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
65 const char kChromeUIHangURL[] = "chrome://hang"; 66 const char kChromeUIHangURL[] = "chrome://hang";
66 const char kChromeUIKillURL[] = "chrome://kill"; 67 const char kChromeUIKillURL[] = "chrome://kill";
67 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 68 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
68 const char kChromeUIShorthangURL[] = "chrome://shorthang"; 69 const char kChromeUIShorthangURL[] = "chrome://shorthang";
69 70
70 } // namespace chrome 71 } // namespace chrome
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 arraysize(kDefaultSavableSchemes) * sizeof(char*)); 120 arraysize(kDefaultSavableSchemes) * sizeof(char*));
120 for (int i = 0; i < schemes; ++i) { 121 for (int i = 0; i < schemes; ++i) {
121 g_savable_schemes[arraysize(kDefaultSavableSchemes) + i - 1] = 122 g_savable_schemes[arraysize(kDefaultSavableSchemes) + i - 1] =
122 base::strdup(additional_savable_schemes[i].c_str()); 123 base::strdup(additional_savable_schemes[i].c_str());
123 } 124 }
124 g_savable_schemes[arraysize(kDefaultSavableSchemes) + schemes - 1] = 0; 125 g_savable_schemes[arraysize(kDefaultSavableSchemes) + schemes - 1] = 0;
125 } 126 }
126 } 127 }
127 128
128 } // namespace content 129 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698