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/chromeos/system_logs/command_line_log_source.h" | 5 #include "chrome/browser/chromeos/system_logs/command_line_log_source.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
12 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
13 #include "base/logging.h" | 15 #include "base/logging.h" |
14 #include "base/process/launch.h" | 16 #include "base/process/launch.h" |
15 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
16 | 18 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 DCHECK(!callback.is_null()); | 111 DCHECK(!callback.is_null()); |
110 | 112 |
111 SystemLogsResponse* response = new SystemLogsResponse; | 113 SystemLogsResponse* response = new SystemLogsResponse; |
112 BrowserThread::PostBlockingPoolTaskAndReply( | 114 BrowserThread::PostBlockingPoolTaskAndReply( |
113 FROM_HERE, | 115 FROM_HERE, |
114 base::Bind(&ExecuteCommandLines, response), | 116 base::Bind(&ExecuteCommandLines, response), |
115 base::Bind(callback, base::Owned(response))); | 117 base::Bind(callback, base::Owned(response))); |
116 } | 118 } |
117 | 119 |
118 } // namespace system_logs | 120 } // namespace system_logs |
OLD | NEW |