| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/component_updater/test/component_updater_service_unitte
st.h" |
| 6 |
| 5 #include <vector> | 7 #include <vector> |
| 6 | 8 |
| 7 #include "chrome/browser/component_updater/test/component_updater_service_unitte
st.h" | |
| 8 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 9 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 10 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 11 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 13 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 14 #include "base/values.h" | 15 #include "base/values.h" |
| 15 #include "chrome/browser/component_updater/component_updater_resource_throttle.h
" | 16 #include "chrome/browser/component_updater/component_updater_resource_throttle.h
" |
| 16 #include "chrome/browser/component_updater/component_updater_utils.h" | |
| 17 #include "chrome/browser/component_updater/test/test_configurator.h" | 17 #include "chrome/browser/component_updater/test/test_configurator.h" |
| 18 #include "chrome/browser/component_updater/test/test_installer.h" | 18 #include "chrome/browser/component_updater/test/test_installer.h" |
| 19 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
| 20 #include "components/component_updater/component_updater_utils.h" |
| 20 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 21 #include "content/public/browser/resource_controller.h" | 22 #include "content/public/browser/resource_controller.h" |
| 22 #include "content/public/browser/resource_request_info.h" | 23 #include "content/public/browser/resource_request_info.h" |
| 23 #include "content/public/browser/resource_throttle.h" | 24 #include "content/public/browser/resource_throttle.h" |
| 24 #include "libxml/globals.h" | 25 #include "libxml/globals.h" |
| 25 #include "net/base/upload_bytes_element_reader.h" | 26 #include "net/base/upload_bytes_element_reader.h" |
| 26 #include "net/url_request/url_fetcher.h" | 27 #include "net/url_request/url_fetcher.h" |
| 27 #include "net/url_request/url_request_test_util.h" | 28 #include "net/url_request/url_request_test_util.h" |
| 28 #include "url/gurl.h" | 29 #include "url/gurl.h" |
| 29 | 30 |
| (...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1489 component_updater()->RemoveObserver(&observer2); | 1490 component_updater()->RemoveObserver(&observer2); |
| 1490 | 1491 |
| 1491 test_configurator()->SetLoopCount(1); | 1492 test_configurator()->SetLoopCount(1); |
| 1492 component_updater()->Start(); | 1493 component_updater()->Start(); |
| 1493 RunThreads(); | 1494 RunThreads(); |
| 1494 | 1495 |
| 1495 component_updater()->Stop(); | 1496 component_updater()->Stop(); |
| 1496 } | 1497 } |
| 1497 | 1498 |
| 1498 } // namespace component_updater | 1499 } // namespace component_updater |
| OLD | NEW |