OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
6 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 6 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/process.h" | 12 #include "base/process/process.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "build/build_config.h" // USE_TCMALLOC | 14 #include "build/build_config.h" // USE_TCMALLOC |
15 | 15 |
16 template <typename T> struct DefaultSingletonTraits; | 16 template <typename T> struct DefaultSingletonTraits; |
17 class GURL; | 17 class GURL; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class BrowserContext; | 20 class BrowserContext; |
21 } | 21 } |
22 | 22 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs); | 75 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs); |
76 }; | 76 }; |
77 | 77 |
78 // Glue between the callback task and the method in the singleton. | 78 // Glue between the callback task and the method in the singleton. |
79 void AboutTcmallocRendererCallback(base::ProcessId pid, | 79 void AboutTcmallocRendererCallback(base::ProcessId pid, |
80 const std::string& output); | 80 const std::string& output); |
81 #endif // defined(USE_TCMALLOC) | 81 #endif // defined(USE_TCMALLOC) |
82 | 82 |
83 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 83 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
OLD | NEW |