| 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 <memory> | 5 #include <memory> |
| 6 #include <utility> | 6 #include <utility> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
| 19 #include "base/test/sequenced_worker_pool_owner.h" | 19 #include "base/test/sequenced_worker_pool_owner.h" |
| 20 #include "base/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
| 21 #include "base/values.h" | 21 #include "base/values.h" |
| 22 #include "base/version.h" | 22 #include "base/version.h" |
| 23 #include "components/prefs/testing_pref_service.h" | 23 #include "components/prefs/testing_pref_service.h" |
| 24 #include "components/update_client/crx_update_item.h" | 24 #include "components/update_client/crx_update_item.h" |
| 25 #include "components/update_client/persisted_data.h" | 25 #include "components/update_client/persisted_data.h" |
| 26 #include "components/update_client/ping_manager.h" | 26 #include "components/update_client/ping_manager.h" |
| 27 #include "components/update_client/test_configurator.h" | 27 #include "components/update_client/test_configurator.h" |
| 28 #include "components/update_client/test_installer.h" | 28 #include "components/update_client/test_installer.h" |
| 29 #include "components/update_client/update_checker.h" | 29 #include "components/update_client/update_checker.h" |
| 30 #include "components/update_client/update_client_internal.h" | 30 #include "components/update_client/update_client_internal.h" |
| (...skipping 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2430 update_client->Update( | 2430 update_client->Update( |
| 2431 ids, base::Bind(&DataCallbackFake::Callback), | 2431 ids, base::Bind(&DataCallbackFake::Callback), |
| 2432 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure())); | 2432 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure())); |
| 2433 runloop.Run(); | 2433 runloop.Run(); |
| 2434 } | 2434 } |
| 2435 | 2435 |
| 2436 update_client->RemoveObserver(&observer); | 2436 update_client->RemoveObserver(&observer); |
| 2437 } | 2437 } |
| 2438 | 2438 |
| 2439 } // namespace update_client | 2439 } // namespace update_client |
| OLD | NEW |