| 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/command_line.h" | 11 #include "base/command_line.h" |
| 10 #include "base/json/json_string_value_serializer.h" | 12 #include "base/json/json_string_value_serializer.h" |
| 11 #include "base/process/launch.h" | 13 #include "base/process/launch.h" |
| 12 #include "components/feedback/feedback_util.h" | 14 #include "components/feedback/feedback_util.h" |
| 13 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
| 14 | 16 |
| 15 using content::BrowserThread; | 17 using content::BrowserThread; |
| 16 | 18 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 60 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 59 DCHECK(!callback.is_null()); | 61 DCHECK(!callback.is_null()); |
| 60 | 62 |
| 61 SystemLogsResponse* response = new SystemLogsResponse; | 63 SystemLogsResponse* response = new SystemLogsResponse; |
| 62 BrowserThread::PostBlockingPoolTaskAndReply( | 64 BrowserThread::PostBlockingPoolTaskAndReply( |
| 63 FROM_HERE, base::Bind(&GetTouchLogsX11, response), | 65 FROM_HERE, base::Bind(&GetTouchLogsX11, response), |
| 64 base::Bind(callback, base::Owned(response))); | 66 base::Bind(callback, base::Owned(response))); |
| 65 } | 67 } |
| 66 | 68 |
| 67 } // namespace system_logs | 69 } // namespace system_logs |
| OLD | NEW |