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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 #include "components/invalidation/impl/p2p_invalidation_service.h" | 57 #include "components/invalidation/impl/p2p_invalidation_service.h" |
58 #include "components/invalidation/impl/p2p_invalidator.h" | 58 #include "components/invalidation/impl/p2p_invalidator.h" |
59 #include "components/invalidation/impl/profile_invalidation_provider.h" | 59 #include "components/invalidation/impl/profile_invalidation_provider.h" |
60 #include "components/invalidation/public/invalidation_service.h" | 60 #include "components/invalidation/public/invalidation_service.h" |
61 #include "components/keyed_service/core/keyed_service.h" | 61 #include "components/keyed_service/core/keyed_service.h" |
62 #include "components/os_crypt/os_crypt.h" | 62 #include "components/os_crypt/os_crypt.h" |
63 #include "components/search_engines/template_url_service.h" | 63 #include "components/search_engines/template_url_service.h" |
64 #include "components/signin/core/browser/profile_identity_provider.h" | 64 #include "components/signin/core/browser/profile_identity_provider.h" |
65 #include "components/signin/core/browser/signin_manager.h" | 65 #include "components/signin/core/browser/signin_manager.h" |
66 #include "components/sync_driver/invalidation_helper.h" | 66 #include "components/sync_driver/invalidation_helper.h" |
| 67 #include "components/sync_driver/sync_driver_switches.h" |
67 #include "content/public/browser/notification_service.h" | 68 #include "content/public/browser/notification_service.h" |
68 #include "content/public/browser/web_contents.h" | 69 #include "content/public/browser/web_contents.h" |
69 #include "content/public/test/test_browser_thread.h" | 70 #include "content/public/test/test_browser_thread.h" |
70 #include "google_apis/gaia/gaia_urls.h" | 71 #include "google_apis/gaia/gaia_urls.h" |
71 #include "net/base/escape.h" | 72 #include "net/base/escape.h" |
72 #include "net/base/load_flags.h" | 73 #include "net/base/load_flags.h" |
73 #include "net/base/network_change_notifier.h" | 74 #include "net/base/network_change_notifier.h" |
74 #include "net/base/port_util.h" | 75 #include "net/base/port_util.h" |
75 #include "net/cookies/cookie_monster.h" | 76 #include "net/cookies/cookie_monster.h" |
76 #include "net/test/spawned_test_server/spawned_test_server.h" | 77 #include "net/test/spawned_test_server/spawned_test_server.h" |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 content::NotificationService::current()->Notify( | 1062 content::NotificationService::current()->Notify( |
1062 chrome::NOTIFICATION_SYNC_REFRESH_LOCAL, | 1063 chrome::NOTIFICATION_SYNC_REFRESH_LOCAL, |
1063 content::Source<Profile>(GetProfile(index)), | 1064 content::Source<Profile>(GetProfile(index)), |
1064 content::Details<const syncer::ModelTypeSet>(&model_types)); | 1065 content::Details<const syncer::ModelTypeSet>(&model_types)); |
1065 } | 1066 } |
1066 | 1067 |
1067 void SyncTest::SetPreexistingPreferencesFileContents( | 1068 void SyncTest::SetPreexistingPreferencesFileContents( |
1068 const std::string& contents) { | 1069 const std::string& contents) { |
1069 preexisting_preferences_file_contents_ = contents; | 1070 preexisting_preferences_file_contents_ = contents; |
1070 } | 1071 } |
OLD | NEW |