| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
| 15 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "base/version.h" | 17 #include "base/version.h" |
| 18 #include "components/update_client/crx_update_item.h" | 18 #include "components/update_client/crx_update_item.h" |
| 19 #include "components/update_client/ping_manager.h" | 19 #include "components/update_client/ping_manager.h" |
| 20 #include "components/update_client/test/test_configurator.h" | 20 #include "components/update_client/test_configurator.h" |
| 21 #include "components/update_client/test/test_installer.h" | 21 #include "components/update_client/test_installer.h" |
| 22 #include "components/update_client/update_checker.h" | 22 #include "components/update_client/update_checker.h" |
| 23 #include "components/update_client/update_client_internal.h" | 23 #include "components/update_client/update_client_internal.h" |
| 24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
| 25 #include "content/public/test/test_browser_thread_bundle.h" | 25 #include "content/public/test/test_browser_thread_bundle.h" |
| 26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
| 27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
| 28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
| 29 | 29 |
| 30 namespace update_client { | 30 namespace update_client { |
| 31 | 31 |
| (...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1413 update_client->Update( | 1413 update_client->Update( |
| 1414 ids, base::Bind(&DataCallbackFake::Callback), | 1414 ids, base::Bind(&DataCallbackFake::Callback), |
| 1415 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure())); | 1415 base::Bind(&CompletionCallbackFake::Callback, runloop.QuitClosure())); |
| 1416 runloop.Run(); | 1416 runloop.Run(); |
| 1417 } | 1417 } |
| 1418 | 1418 |
| 1419 update_client->RemoveObserver(&observer); | 1419 update_client->RemoveObserver(&observer); |
| 1420 } | 1420 } |
| 1421 | 1421 |
| 1422 } // namespace update_client | 1422 } // namespace update_client |
| OLD | NEW |