| OLD | NEW | 
|    1 // Copyright 2015 The Chromium Authors. All rights reserved. |    1 // Copyright 2015 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  | 
|    5 #include <set> |    7 #include <set> | 
|    6 #include <string> |    8 #include <string> | 
|    7  |    9  | 
|    8 #include "base/bind.h" |   10 #include "base/bind.h" | 
|    9 #include "base/macros.h" |   11 #include "base/macros.h" | 
|   10 #include "base/memory/scoped_ptr.h" |   12 #include "base/memory/scoped_ptr.h" | 
|   11 #include "base/message_loop/message_loop.h" |   13 #include "base/message_loop/message_loop.h" | 
|   12 #include "base/run_loop.h" |   14 #include "base/run_loop.h" | 
|   13 #include "base/thread_task_runner_handle.h" |   15 #include "base/thread_task_runner_handle.h" | 
|   14 #include "device/core/mock_device_client.h" |   16 #include "device/core/mock_device_client.h" | 
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  206     base::RunLoop loop; |  208     base::RunLoop loop; | 
|  207     device_manager->GetDeviceChanges(base::Bind(&ExpectDeviceChangesAndThen, |  209     device_manager->GetDeviceChanges(base::Bind(&ExpectDeviceChangesAndThen, | 
|  208                                                 added_guids, removed_guids, |  210                                                 added_guids, removed_guids, | 
|  209                                                 loop.QuitClosure())); |  211                                                 loop.QuitClosure())); | 
|  210     loop.Run(); |  212     loop.Run(); | 
|  211   } |  213   } | 
|  212 } |  214 } | 
|  213  |  215  | 
|  214 }  // namespace usb |  216 }  // namespace usb | 
|  215 }  // namespace device |  217 }  // namespace device | 
| OLD | NEW |