OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_COMMON_PROFILING_MEMLOG_SENDER_H_ | 5 #ifndef CHROME_COMMON_PROFILING_MEMLOG_SENDER_H_ |
6 #define CHROME_COMMON_PROFILING_MEMLOG_SENDER_H_ | 6 #define CHROME_COMMON_PROFILING_MEMLOG_SENDER_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 namespace base { | 10 namespace base { |
9 | 11 |
10 class CommandLine; | 12 class CommandLine; |
11 | 13 |
12 } // namespace base | 14 } // namespace base |
13 | 15 |
14 namespace profiling { | 16 namespace profiling { |
15 | 17 |
16 void InitMemlogSenderIfNecessary(const base::CommandLine& cmdline); | 18 void InitMemlogSenderIfNecessary(const base::CommandLine& cmdline); |
17 | 19 |
| 20 void StartMemlogSender(const std::string& pipe_id); |
| 21 |
18 } // namespace profiling | 22 } // namespace profiling |
19 | 23 |
20 #endif // CHROME_COMMON_PROFILING_MEMLOG_SENDER_H_ | 24 #endif // CHROME_COMMON_PROFILING_MEMLOG_SENDER_H_ |
OLD | NEW |