| OLD | NEW |
| 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/browser_about_handler.h" | 5 #include "chrome/browser/browser_about_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 chrome::kChromeUIFlagsHost, | 38 chrome::kChromeUIFlagsHost, |
| 39 chrome::kChromeUIFlashHost, | 39 chrome::kChromeUIFlashHost, |
| 40 chrome::kChromeUIGpuInternalsHost, | 40 chrome::kChromeUIGpuInternalsHost, |
| 41 chrome::kChromeUIHistogramsHost, | 41 chrome::kChromeUIHistogramsHost, |
| 42 chrome::kChromeUIHistoryHost, | 42 chrome::kChromeUIHistoryHost, |
| 43 chrome::kChromeUIIPCHost, | 43 chrome::kChromeUIIPCHost, |
| 44 chrome::kChromeUIInspectHost, | 44 chrome::kChromeUIInspectHost, |
| 45 chrome::kChromeUIMediaInternalsHost, | 45 chrome::kChromeUIMediaInternalsHost, |
| 46 chrome::kChromeUIMemoryHost, | 46 chrome::kChromeUIMemoryHost, |
| 47 chrome::kChromeUINetInternalsHost, | 47 chrome::kChromeUINetInternalsHost, |
| 48 chrome::kChromeUINetworkActionPredictorHost, | |
| 49 chrome::kChromeUINetworkViewCacheHost, | 48 chrome::kChromeUINetworkViewCacheHost, |
| 50 chrome::kChromeUINewTabHost, | 49 chrome::kChromeUINewTabHost, |
| 51 chrome::kChromeUIOmniboxHost, | 50 chrome::kChromeUIOmniboxHost, |
| 52 chrome::kChromeUIPluginsHost, | 51 chrome::kChromeUIPluginsHost, |
| 53 chrome::kChromeUIPolicyHost, | 52 chrome::kChromeUIPolicyHost, |
| 53 chrome::kChromeUIPredictorsHost, |
| 54 chrome::kChromeUIPrintHost, | 54 chrome::kChromeUIPrintHost, |
| 55 chrome::kChromeUIProfilerHost, | 55 chrome::kChromeUIProfilerHost, |
| 56 chrome::kChromeUIQuotaInternalsHost, | 56 chrome::kChromeUIQuotaInternalsHost, |
| 57 chrome::kChromeUISessionsHost, | 57 chrome::kChromeUISessionsHost, |
| 58 chrome::kChromeUISettingsHost, | 58 chrome::kChromeUISettingsHost, |
| 59 chrome::kChromeUIStatsHost, | 59 chrome::kChromeUIStatsHost, |
| 60 chrome::kChromeUISyncInternalsHost, | 60 chrome::kChromeUISyncInternalsHost, |
| 61 chrome::kChromeUITaskManagerHost, | 61 chrome::kChromeUITaskManagerHost, |
| 62 chrome::kChromeUITCMallocHost, | 62 chrome::kChromeUITCMallocHost, |
| 63 chrome::kChromeUITermsHost, | 63 chrome::kChromeUITermsHost, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 AboutTcmallocOutputs::AboutTcmallocOutputs() {} | 202 AboutTcmallocOutputs::AboutTcmallocOutputs() {} |
| 203 | 203 |
| 204 AboutTcmallocOutputs::~AboutTcmallocOutputs() {} | 204 AboutTcmallocOutputs::~AboutTcmallocOutputs() {} |
| 205 | 205 |
| 206 // Glue between the callback task and the method in the singleton. | 206 // Glue between the callback task and the method in the singleton. |
| 207 void AboutTcmallocRendererCallback(base::ProcessId pid, | 207 void AboutTcmallocRendererCallback(base::ProcessId pid, |
| 208 const std::string& output) { | 208 const std::string& output) { |
| 209 AboutTcmallocOutputs::GetInstance()->RendererCallback(pid, output); | 209 AboutTcmallocOutputs::GetInstance()->RendererCallback(pid, output); |
| 210 } | 210 } |
| 211 #endif | 211 #endif |
| OLD | NEW |