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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.h

Issue 534733002: Revert "[Sync] Move DataTypeStatusTable ownership into DataTypeManager." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/browser/sync/test/integration/sync_errors_test.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 11 matching lines...) Expand all
22 class ProfileOAuth2TokenService; 22 class ProfileOAuth2TokenService;
23 class ProfileSyncComponentsFactory; 23 class ProfileSyncComponentsFactory;
24 class ProfileSyncComponentsFactoryMock; 24 class ProfileSyncComponentsFactoryMock;
25 25
26 ACTION(ReturnNewDataTypeManager) { 26 ACTION(ReturnNewDataTypeManager) {
27 return new sync_driver::DataTypeManagerImpl(base::Closure(), 27 return new sync_driver::DataTypeManagerImpl(base::Closure(),
28 arg0, 28 arg0,
29 arg1, 29 arg1,
30 arg2, 30 arg2,
31 arg3, 31 arg3,
32 arg4); 32 arg4,
33 arg5);
33 } 34 }
34 35
35 namespace browser_sync { 36 namespace browser_sync {
36 37
37 class SyncBackendHostForProfileSyncTest : public SyncBackendHostImpl { 38 class SyncBackendHostForProfileSyncTest : public SyncBackendHostImpl {
38 public: 39 public:
39 SyncBackendHostForProfileSyncTest( 40 SyncBackendHostForProfileSyncTest(
40 Profile* profile, 41 Profile* profile,
41 invalidation::InvalidationService* invalidator, 42 invalidation::InvalidationService* invalidator,
42 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, 43 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() 106 virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler()
106 OVERRIDE; 107 OVERRIDE;
107 108
108 virtual bool NeedBackup() const OVERRIDE; 109 virtual bool NeedBackup() const OVERRIDE;
109 110
110 private: 111 private:
111 syncer::TestIdFactory id_factory_; 112 syncer::TestIdFactory id_factory_;
112 }; 113 };
113 114
114 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 115 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sync_errors_test.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698