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 23 matching lines...) Expand all Loading... |
34 chrome::kChromeUICreditsHost, | 34 chrome::kChromeUICreditsHost, |
35 chrome::kChromeUIDNSHost, | 35 chrome::kChromeUIDNSHost, |
36 chrome::kChromeUIDownloadsHost, | 36 chrome::kChromeUIDownloadsHost, |
37 chrome::kChromeUIExtensionsHost, | 37 chrome::kChromeUIExtensionsHost, |
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::kChromeUIMediaInternalsHost, | 45 chrome::kChromeUIMediaInternalsHost, |
45 chrome::kChromeUIMemoryHost, | 46 chrome::kChromeUIMemoryHost, |
46 chrome::kChromeUINetInternalsHost, | 47 chrome::kChromeUINetInternalsHost, |
47 chrome::kChromeUINetworkActionPredictorHost, | 48 chrome::kChromeUINetworkActionPredictorHost, |
48 chrome::kChromeUINetworkViewCacheHost, | 49 chrome::kChromeUINetworkViewCacheHost, |
49 chrome::kChromeUINewTabHost, | 50 chrome::kChromeUINewTabHost, |
50 chrome::kChromeUIOmniboxHost, | 51 chrome::kChromeUIOmniboxHost, |
51 chrome::kChromeUIPluginsHost, | 52 chrome::kChromeUIPluginsHost, |
52 chrome::kChromeUIPolicyHost, | 53 chrome::kChromeUIPolicyHost, |
53 chrome::kChromeUIPrintHost, | 54 chrome::kChromeUIPrintHost, |
54 chrome::kChromeUIProfilerHost, | 55 chrome::kChromeUIProfilerHost, |
55 chrome::kChromeUIQuotaInternalsHost, | 56 chrome::kChromeUIQuotaInternalsHost, |
56 chrome::kChromeUISessionsHost, | 57 chrome::kChromeUISessionsHost, |
57 chrome::kChromeUISettingsHost, | 58 chrome::kChromeUISettingsHost, |
58 chrome::kChromeUIStatsHost, | 59 chrome::kChromeUIStatsHost, |
59 chrome::kChromeUISyncInternalsHost, | 60 chrome::kChromeUISyncInternalsHost, |
60 chrome::kChromeUITaskManagerHost, | 61 chrome::kChromeUITaskManagerHost, |
61 chrome::kChromeUITCMallocHost, | 62 chrome::kChromeUITCMallocHost, |
62 chrome::kChromeUITermsHost, | 63 chrome::kChromeUITermsHost, |
63 chrome::kChromeUITracingHost, | 64 chrome::kChromeUITracingHost, |
64 chrome::kChromeUIVersionHost, | 65 chrome::kChromeUIVersionHost, |
65 chrome::kChromeUIWorkersHost, | |
66 #if defined(OS_WIN) | 66 #if defined(OS_WIN) |
67 chrome::kChromeUIConflictsHost, | 67 chrome::kChromeUIConflictsHost, |
68 #endif | 68 #endif |
69 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 69 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
70 chrome::kChromeUILinuxProxyConfigHost, | 70 chrome::kChromeUILinuxProxyConfigHost, |
71 chrome::kChromeUISandboxHost, | 71 chrome::kChromeUISandboxHost, |
72 #endif | 72 #endif |
73 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
74 chrome::kChromeUIActiveDownloadsHost, | 74 chrome::kChromeUIActiveDownloadsHost, |
75 chrome::kChromeUIChooseMobileNetworkHost, | 75 chrome::kChromeUIChooseMobileNetworkHost, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 AboutTcmallocOutputs::AboutTcmallocOutputs() {} | 214 AboutTcmallocOutputs::AboutTcmallocOutputs() {} |
215 | 215 |
216 AboutTcmallocOutputs::~AboutTcmallocOutputs() {} | 216 AboutTcmallocOutputs::~AboutTcmallocOutputs() {} |
217 | 217 |
218 // Glue between the callback task and the method in the singleton. | 218 // Glue between the callback task and the method in the singleton. |
219 void AboutTcmallocRendererCallback(base::ProcessId pid, | 219 void AboutTcmallocRendererCallback(base::ProcessId pid, |
220 const std::string& output) { | 220 const std::string& output) { |
221 AboutTcmallocOutputs::GetInstance()->RendererCallback(pid, output); | 221 AboutTcmallocOutputs::GetInstance()->RendererCallback(pid, output); |
222 } | 222 } |
223 #endif | 223 #endif |
OLD | NEW |