| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
| 5 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 6 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 7 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 8 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 9 #include "chrome/browser/devtools/device/android_device_manager.h" | 12 #include "chrome/browser/devtools/device/android_device_manager.h" |
| 10 | 13 |
| 11 namespace { | 14 namespace { |
| 12 | 15 |
| 13 #define SEPARATOR "======== output separator ========" | 16 #define SEPARATOR "======== output separator ========" |
| 14 | 17 |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 } | 357 } |
| 355 | 358 |
| 356 // static | 359 // static |
| 357 void AndroidDeviceManager::QueryDeviceInfo( | 360 void AndroidDeviceManager::QueryDeviceInfo( |
| 358 const RunCommandCallback& command_callback, | 361 const RunCommandCallback& command_callback, |
| 359 const DeviceInfoCallback& callback) { | 362 const DeviceInfoCallback& callback) { |
| 360 command_callback.Run( | 363 command_callback.Run( |
| 361 kAllCommands, | 364 kAllCommands, |
| 362 base::Bind(&ReceivedResponse, callback)); | 365 base::Bind(&ReceivedResponse, callback)); |
| 363 } | 366 } |
| OLD | NEW |