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

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

Issue 12502017: signin: pull basic SigninManager functionality into new SigninManagerBase class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deal with new enterprise_platform_keys_private_api Created 7 years, 8 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 | Annotate | Revision Log
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 } // namespace browser_sync 107 } // namespace browser_sync
108 108
109 class TestProfileSyncService : public ProfileSyncService { 109 class TestProfileSyncService : public ProfileSyncService {
110 public: 110 public:
111 // TODO(tim): Remove |synchronous_backend_initialization|, and add ability to 111 // TODO(tim): Remove |synchronous_backend_initialization|, and add ability to
112 // inject TokenService alongside SigninManager. 112 // inject TokenService alongside SigninManager.
113 TestProfileSyncService( 113 TestProfileSyncService(
114 ProfileSyncComponentsFactory* factory, 114 ProfileSyncComponentsFactory* factory,
115 Profile* profile, 115 Profile* profile,
116 SigninManager* signin, 116 SigninManagerBase* signin,
117 ProfileSyncService::StartBehavior behavior, 117 ProfileSyncService::StartBehavior behavior,
118 bool synchronous_backend_initialization); 118 bool synchronous_backend_initialization);
119 119
120 virtual ~TestProfileSyncService(); 120 virtual ~TestProfileSyncService();
121 121
122 virtual void OnBackendInitialized( 122 virtual void OnBackendInitialized(
123 const syncer::WeakHandle<syncer::JsBackend>& backend, 123 const syncer::WeakHandle<syncer::JsBackend>& backend,
124 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& 124 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&
125 debug_info_listener, 125 debug_info_listener,
126 bool success) OVERRIDE; 126 bool success) OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool synchronous_sync_configuration_; 172 bool synchronous_sync_configuration_;
173 173
174 base::Closure callback_; 174 base::Closure callback_;
175 bool set_initial_sync_ended_on_init_; 175 bool set_initial_sync_ended_on_init_;
176 176
177 bool fail_initial_download_; 177 bool fail_initial_download_;
178 syncer::StorageOption storage_option_; 178 syncer::StorageOption storage_option_;
179 }; 179 };
180 180
181 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 181 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util_unittest.cc ('k') | chrome/browser/sync/test_profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698