Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 2395533003: [Sync] Move some things from driver to base. (Closed)
Patch Set: Rebase. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <limits> 10 #include <limits>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "components/invalidation/impl/invalidation_switches.h" 61 #include "components/invalidation/impl/invalidation_switches.h"
62 #include "components/invalidation/impl/p2p_invalidation_service.h" 62 #include "components/invalidation/impl/p2p_invalidation_service.h"
63 #include "components/invalidation/impl/p2p_invalidator.h" 63 #include "components/invalidation/impl/p2p_invalidator.h"
64 #include "components/invalidation/impl/profile_invalidation_provider.h" 64 #include "components/invalidation/impl/profile_invalidation_provider.h"
65 #include "components/invalidation/public/invalidation_service.h" 65 #include "components/invalidation/public/invalidation_service.h"
66 #include "components/keyed_service/core/keyed_service.h" 66 #include "components/keyed_service/core/keyed_service.h"
67 #include "components/os_crypt/os_crypt_mocker.h" 67 #include "components/os_crypt/os_crypt_mocker.h"
68 #include "components/search_engines/template_url_service.h" 68 #include "components/search_engines/template_url_service.h"
69 #include "components/signin/core/browser/profile_identity_provider.h" 69 #include "components/signin/core/browser/profile_identity_provider.h"
70 #include "components/signin/core/browser/signin_manager.h" 70 #include "components/signin/core/browser/signin_manager.h"
71 #include "components/sync/driver/invalidation_helper.h" 71 #include "components/sync/base/invalidation_helper.h"
72 #include "components/sync/driver/sync_driver_switches.h" 72 #include "components/sync/driver/sync_driver_switches.h"
73 #include "components/sync/engine_impl/sync_scheduler_impl.h" 73 #include "components/sync/engine_impl/sync_scheduler_impl.h"
74 #include "components/sync/protocol/sync.pb.h" 74 #include "components/sync/protocol/sync.pb.h"
75 #include "components/sync/test/fake_server/fake_server_network_resources.h" 75 #include "components/sync/test/fake_server/fake_server_network_resources.h"
76 #include "content/public/browser/navigation_entry.h" 76 #include "content/public/browser/navigation_entry.h"
77 #include "content/public/browser/notification_service.h" 77 #include "content/public/browser/notification_service.h"
78 #include "content/public/browser/web_contents.h" 78 #include "content/public/browser/web_contents.h"
79 #include "content/public/test/test_browser_thread.h" 79 #include "content/public/test/test_browser_thread.h"
80 #include "google_apis/gaia/gaia_urls.h" 80 #include "google_apis/gaia/gaia_urls.h"
81 #include "net/base/escape.h" 81 #include "net/base/escape.h"
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 1127
1128 void SyncTest::TriggerSyncForModelTypes(int index, 1128 void SyncTest::TriggerSyncForModelTypes(int index,
1129 syncer::ModelTypeSet model_types) { 1129 syncer::ModelTypeSet model_types) {
1130 GetSyncService(index)->TriggerRefresh(model_types); 1130 GetSyncService(index)->TriggerRefresh(model_types);
1131 } 1131 }
1132 1132
1133 void SyncTest::SetPreexistingPreferencesFileContents( 1133 void SyncTest::SetPreexistingPreferencesFileContents(
1134 const std::string& contents) { 1134 const std::string& contents) {
1135 preexisting_preferences_file_contents_ = contents; 1135 preexisting_preferences_file_contents_ = contents;
1136 } 1136 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698