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

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

Issue 60733019: This is the third CL of several that will eventually replace TokenService with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ('k') | no next file » | 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 base::WeakPtrFactory<SyncBackendHostForProfileSyncTest> weak_ptr_factory_; 100 base::WeakPtrFactory<SyncBackendHostForProfileSyncTest> weak_ptr_factory_;
101 }; 101 };
102 102
103 } // namespace browser_sync 103 } // namespace browser_sync
104 104
105 class TestProfileSyncService : public ProfileSyncService { 105 class TestProfileSyncService : public ProfileSyncService {
106 public: 106 public:
107 // TODO(tim): Remove |synchronous_backend_initialization|, and add ability to 107 // TODO(tim): Remove |synchronous_backend_initialization|, and add ability to
108 // inject TokenService alongside SigninManager. 108 // inject TokenService alongside SigninManager.
109 // TODO(rogerta): what does above comment mean?
109 TestProfileSyncService( 110 TestProfileSyncService(
110 ProfileSyncComponentsFactory* factory, 111 ProfileSyncComponentsFactory* factory,
111 Profile* profile, 112 Profile* profile,
112 SigninManagerBase* signin, 113 SigninManagerBase* signin,
113 ProfileOAuth2TokenService* oauth2_token_service, 114 ProfileOAuth2TokenService* oauth2_token_service,
114 ProfileSyncService::StartBehavior behavior, 115 ProfileSyncService::StartBehavior behavior,
115 bool synchronous_backend_initialization); 116 bool synchronous_backend_initialization);
116 117
117 virtual ~TestProfileSyncService(); 118 virtual ~TestProfileSyncService();
118 119
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 bool synchronous_sync_configuration_; 184 bool synchronous_sync_configuration_;
184 185
185 base::Closure callback_; 186 base::Closure callback_;
186 bool set_initial_sync_ended_on_init_; 187 bool set_initial_sync_ended_on_init_;
187 188
188 bool fail_initial_download_; 189 bool fail_initial_download_;
189 syncer::StorageOption storage_option_; 190 syncer::StorageOption storage_option_;
190 }; 191 };
191 192
192 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 193 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698