OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/sync/test/integration/sync_test.h" | 5 #include "chrome/browser/sync/test/integration/sync_test.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 47 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
48 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 48 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
49 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" | 49 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
50 #include "chrome/common/chrome_constants.h" | 50 #include "chrome/common/chrome_constants.h" |
51 #include "chrome/common/chrome_paths.h" | 51 #include "chrome/common/chrome_paths.h" |
52 #include "chrome/common/chrome_switches.h" | 52 #include "chrome/common/chrome_switches.h" |
53 #include "chrome/test/base/testing_browser_process.h" | 53 #include "chrome/test/base/testing_browser_process.h" |
54 #include "chrome/test/base/ui_test_utils.h" | 54 #include "chrome/test/base/ui_test_utils.h" |
55 #include "components/bookmarks/test/bookmark_test_helpers.h" | 55 #include "components/bookmarks/test/bookmark_test_helpers.h" |
56 #include "components/google/core/browser/google_url_tracker.h" | 56 #include "components/google/core/browser/google_url_tracker.h" |
57 #include "components/invalidation/invalidation_service.h" | 57 #include "components/invalidation/impl/invalidation_switches.h" |
58 #include "components/invalidation/invalidation_switches.h" | 58 #include "components/invalidation/impl/p2p_invalidation_service.h" |
59 #include "components/invalidation/p2p_invalidation_service.h" | 59 #include "components/invalidation/impl/p2p_invalidator.h" |
60 #include "components/invalidation/p2p_invalidator.h" | 60 #include "components/invalidation/impl/profile_invalidation_provider.h" |
61 #include "components/invalidation/profile_invalidation_provider.h" | 61 #include "components/invalidation/public/invalidation_service.h" |
62 #include "components/keyed_service/core/keyed_service.h" | 62 #include "components/keyed_service/core/keyed_service.h" |
63 #include "components/os_crypt/os_crypt.h" | 63 #include "components/os_crypt/os_crypt.h" |
64 #include "components/search_engines/template_url_service.h" | 64 #include "components/search_engines/template_url_service.h" |
65 #include "components/signin/core/browser/signin_manager.h" | 65 #include "components/signin/core/browser/signin_manager.h" |
66 #include "content/public/browser/notification_service.h" | 66 #include "content/public/browser/notification_service.h" |
67 #include "content/public/browser/web_contents.h" | 67 #include "content/public/browser/web_contents.h" |
68 #include "content/public/test/test_browser_thread.h" | 68 #include "content/public/test/test_browser_thread.h" |
69 #include "google_apis/gaia/gaia_urls.h" | 69 #include "google_apis/gaia/gaia_urls.h" |
70 #include "net/base/escape.h" | 70 #include "net/base/escape.h" |
71 #include "net/base/load_flags.h" | 71 #include "net/base/load_flags.h" |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 content::NotificationService::current()->Notify( | 1058 content::NotificationService::current()->Notify( |
1059 chrome::NOTIFICATION_SYNC_REFRESH_LOCAL, | 1059 chrome::NOTIFICATION_SYNC_REFRESH_LOCAL, |
1060 content::Source<Profile>(GetProfile(index)), | 1060 content::Source<Profile>(GetProfile(index)), |
1061 content::Details<const syncer::ModelTypeSet>(&model_types)); | 1061 content::Details<const syncer::ModelTypeSet>(&model_types)); |
1062 } | 1062 } |
1063 | 1063 |
1064 void SyncTest::SetPreexistingPreferencesFileContents( | 1064 void SyncTest::SetPreexistingPreferencesFileContents( |
1065 const std::string& contents) { | 1065 const std::string& contents) { |
1066 preexisting_preferences_file_contents_ = contents; | 1066 preexisting_preferences_file_contents_ = contents; |
1067 } | 1067 } |
OLD | NEW |