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

Side by Side Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.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 | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/common/render_messages.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 "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" 5 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/about_flags.h" 8 #include "chrome/browser/about_flags.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 if (url.host() == chrome::kChromeUIChromeURLsHost || 311 if (url.host() == chrome::kChromeUIChromeURLsHost ||
312 url.host() == chrome::kChromeUICreditsHost || 312 url.host() == chrome::kChromeUICreditsHost ||
313 url.host() == chrome::kChromeUIDNSHost || 313 url.host() == chrome::kChromeUIDNSHost ||
314 url.host() == chrome::kChromeUIHistogramsHost || 314 url.host() == chrome::kChromeUIHistogramsHost ||
315 url.host() == chrome::kChromeUIMemoryHost || 315 url.host() == chrome::kChromeUIMemoryHost ||
316 url.host() == chrome::kChromeUIMemoryRedirectHost || 316 url.host() == chrome::kChromeUIMemoryRedirectHost ||
317 url.host() == chrome::kChromeUIStatsHost || 317 url.host() == chrome::kChromeUIStatsHost ||
318 url.host() == chrome::kChromeUITermsHost || 318 url.host() == chrome::kChromeUITermsHost ||
319 url.host() == chrome::kChromeUIVersionHost 319 url.host() == chrome::kChromeUIVersionHost
320 #if defined(USE_TCMALLOC)
321 || url.host() == chrome::kChromeUITCMallocHost
322 #endif
323 #if defined(OS_LINUX) || defined(OS_OPENBSD) 320 #if defined(OS_LINUX) || defined(OS_OPENBSD)
324 || url.host() == chrome::kChromeUILinuxProxyConfigHost 321 || url.host() == chrome::kChromeUILinuxProxyConfigHost
325 || url.host() == chrome::kChromeUISandboxHost 322 || url.host() == chrome::kChromeUISandboxHost
326 #endif 323 #endif
327 #if defined(OS_CHROMEOS) 324 #if defined(OS_CHROMEOS)
328 || url.host() == chrome::kChromeUICryptohomeHost 325 || url.host() == chrome::kChromeUICryptohomeHost
329 || url.host() == chrome::kChromeUIDiscardsHost 326 || url.host() == chrome::kChromeUIDiscardsHost
330 || url.host() == chrome::kChromeUINetworkHost 327 || url.host() == chrome::kChromeUINetworkHost
331 || url.host() == chrome::kChromeUIOSCreditsHost 328 || url.host() == chrome::kChromeUIOSCreditsHost
332 || url.host() == chrome::kChromeUITransparencyHost 329 || url.host() == chrome::kChromeUITransparencyHost
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 if (page_url.host() == chrome::kChromeUISettingsFrameHost) 502 if (page_url.host() == chrome::kChromeUISettingsFrameHost)
506 return options2::OptionsUI::GetFaviconResourceBytes(); 503 return options2::OptionsUI::GetFaviconResourceBytes();
507 504
508 // Android doesn't use the plugins pages. 505 // Android doesn't use the plugins pages.
509 if (page_url.host() == chrome::kChromeUIPluginsHost) 506 if (page_url.host() == chrome::kChromeUIPluginsHost)
510 return PluginsUI::GetFaviconResourceBytes(); 507 return PluginsUI::GetFaviconResourceBytes();
511 #endif 508 #endif
512 509
513 return NULL; 510 return NULL;
514 } 511 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698