OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/touch_log_source.h" | 5 #include "chrome/browser/chromeos/system_logs/touch_log_source.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "ash/touch/touch_hud_debug.h" | 9 #include "ash/touch/touch_hud_debug.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
10 #include "base/callback.h" | 12 #include "base/callback.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/files/file_util.h" | 15 #include "base/files/file_util.h" |
14 #include "base/json/json_string_value_serializer.h" | 16 #include "base/json/json_string_value_serializer.h" |
15 #include "base/logging.h" | 17 #include "base/logging.h" |
16 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 190 |
189 scoped_ptr<SystemLogsResponse> response(new SystemLogsResponse); | 191 scoped_ptr<SystemLogsResponse> response(new SystemLogsResponse); |
190 CollectTouchHudDebugLog(response.get()); | 192 CollectTouchHudDebugLog(response.get()); |
191 | 193 |
192 // Collect touch device status logs. | 194 // Collect touch device status logs. |
193 ui::OzonePlatform::GetInstance()->GetInputController()->GetTouchDeviceStatus( | 195 ui::OzonePlatform::GetInstance()->GetInputController()->GetTouchDeviceStatus( |
194 base::Bind(&OnStatusLogCollected, base::Passed(&response), callback)); | 196 base::Bind(&OnStatusLogCollected, base::Passed(&response), callback)); |
195 } | 197 } |
196 | 198 |
197 } // namespace system_logs | 199 } // namespace system_logs |
OLD | NEW |