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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& 126 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&
127 debug_info_listener, 127 debug_info_listener,
128 bool success) OVERRIDE; 128 bool success) OVERRIDE;
129 129
130 virtual void OnConfigureDone( 130 virtual void OnConfigureDone(
131 const browser_sync::DataTypeManager::ConfigureResult& result) OVERRIDE; 131 const browser_sync::DataTypeManager::ConfigureResult& result) OVERRIDE;
132 132
133 // We implement our own version to avoid some DCHECKs. 133 // We implement our own version to avoid some DCHECKs.
134 virtual syncer::UserShare* GetUserShare() const OVERRIDE; 134 virtual syncer::UserShare* GetUserShare() const OVERRIDE;
135 135
136 static ProfileKeyedService* BuildAutoStartAsyncInit( 136 static BrowserContextKeyedService* BuildAutoStartAsyncInit(
137 content::BrowserContext* profile); 137 content::BrowserContext* profile);
138 138
139 ProfileSyncComponentsFactoryMock* components_factory_mock(); 139 ProfileSyncComponentsFactoryMock* components_factory_mock();
140 140
141 // If this is called, configuring data types will require a syncer 141 // If this is called, configuring data types will require a syncer
142 // nudge. 142 // nudge.
143 void dont_set_initial_sync_ended_on_init(); 143 void dont_set_initial_sync_ended_on_init();
144 void set_synchronous_sync_configuration(); 144 void set_synchronous_sync_configuration();
145 145
146 // Fails initial download until a new auth token is provided. 146 // Fails initial download until a new auth token is provided.
(...skipping 28 matching lines...) Expand all
175 bool synchronous_sync_configuration_; 175 bool synchronous_sync_configuration_;
176 176
177 base::Closure callback_; 177 base::Closure callback_;
178 bool set_initial_sync_ended_on_init_; 178 bool set_initial_sync_ended_on_init_;
179 179
180 bool fail_initial_download_; 180 bool fail_initial_download_;
181 syncer::StorageOption storage_option_; 181 syncer::StorageOption storage_option_;
182 }; 182 };
183 183
184 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 184 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698