| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/chromeos/customization/customization_document.h" | 5 #include "chrome/browser/chromeos/customization/customization_document.h" | 
| 6 | 6 | 
| 7 #include <utility> | 7 #include <utility> | 
| 8 | 8 | 
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" | 
| 10 #include "base/prefs/testing_pref_service.h" |  | 
| 11 #include "base/run_loop.h" | 10 #include "base/run_loop.h" | 
| 12 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" | 
| 13 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" | 12 #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h" | 
| 14 #include "chrome/browser/extensions/external_provider_impl.h" | 13 #include "chrome/browser/extensions/external_provider_impl.h" | 
| 15 #include "chrome/browser/prefs/browser_prefs.h" | 14 #include "chrome/browser/prefs/browser_prefs.h" | 
| 16 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 15 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 
| 17 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 16 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 
| 18 #include "chrome/test/base/testing_browser_process.h" | 17 #include "chrome/test/base/testing_browser_process.h" | 
| 19 #include "chrome/test/base/testing_profile.h" | 18 #include "chrome/test/base/testing_profile.h" | 
| 20 #include "chromeos/dbus/dbus_thread_manager.h" | 19 #include "chromeos/dbus/dbus_thread_manager.h" | 
| 21 #include "chromeos/network/network_handler.h" | 20 #include "chromeos/network/network_handler.h" | 
| 22 #include "chromeos/network/network_state.h" | 21 #include "chromeos/network/network_state.h" | 
| 23 #include "chromeos/network/network_state_handler.h" | 22 #include "chromeos/network/network_state_handler.h" | 
| 24 #include "chromeos/system/fake_statistics_provider.h" | 23 #include "chromeos/system/fake_statistics_provider.h" | 
| 25 #include "components/pref_registry/pref_registry_syncable.h" | 24 #include "components/pref_registry/pref_registry_syncable.h" | 
|  | 25 #include "components/prefs/testing_pref_service.h" | 
| 26 #include "components/syncable_prefs/pref_service_mock_factory.h" | 26 #include "components/syncable_prefs/pref_service_mock_factory.h" | 
| 27 #include "components/syncable_prefs/pref_service_syncable.h" | 27 #include "components/syncable_prefs/pref_service_syncable.h" | 
| 28 #include "content/public/test/test_browser_thread_bundle.h" | 28 #include "content/public/test/test_browser_thread_bundle.h" | 
| 29 #include "extensions/browser/external_install_info.h" | 29 #include "extensions/browser/external_install_info.h" | 
| 30 #include "extensions/common/extension.h" | 30 #include "extensions/common/extension.h" | 
| 31 #include "extensions/common/manifest.h" | 31 #include "extensions/common/manifest.h" | 
| 32 #include "net/http/http_response_headers.h" | 32 #include "net/http/http_response_headers.h" | 
| 33 #include "net/http/http_status_code.h" | 33 #include "net/http/http_status_code.h" | 
| 34 #include "net/url_request/test_url_fetcher_factory.h" | 34 #include "net/url_request/test_url_fetcher_factory.h" | 
| 35 #include "net/url_request/url_request_status.h" | 35 #include "net/url_request/url_request_status.h" | 
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 465   EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _)).Times(0); | 465   EXPECT_CALL(visitor, OnExternalExtensionUpdateUrlFound(_, _)).Times(0); | 
| 466   EXPECT_CALL(visitor, OnExternalProviderReady(_)) | 466   EXPECT_CALL(visitor, OnExternalProviderReady(_)) | 
| 467       .Times(1); | 467       .Times(1); | 
| 468   EXPECT_CALL(visitor, OnExternalProviderUpdateComplete(_, _, _, _)).Times(0); | 468   EXPECT_CALL(visitor, OnExternalProviderUpdateComplete(_, _, _, _)).Times(0); | 
| 469 | 469 | 
| 470   RunUntilIdle(); | 470   RunUntilIdle(); | 
| 471   EXPECT_TRUE(doc->IsReady()); | 471   EXPECT_TRUE(doc->IsReady()); | 
| 472 } | 472 } | 
| 473 | 473 | 
| 474 }  // namespace chromeos | 474 }  // namespace chromeos | 
| OLD | NEW | 
|---|