Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index 88e960150b51a832890bff4c335e9bf898f17b16..8f9076ae33e2986c9894c5e8fc5c0de56105193c 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -68,6 +68,7 @@ class SyncSessionSnapshot; |
namespace syncer { |
class BaseTransaction; |
+class HttpPostProviderFactory; |
struct SyncCredentials; |
struct UserShare; |
} // namespace syncer |
@@ -675,6 +676,10 @@ class ProfileSyncService : public ProfileSyncServiceBase, |
// Return sync token status. |
SyncTokenStatus GetSyncTokenStatus() const; |
+ // Overrides the HttpPostProviderFactory used for Sync connections. |
+ void OverrideHttpPostProviderFactoryForTest( |
+ syncer::HttpPostProviderFactory* http_post_provider_factory); |
+ |
protected: |
// Used by test classes that derive from ProfileSyncService. |
virtual browser_sync::SyncBackendHost* GetBackendForTest(); |
@@ -1014,6 +1019,8 @@ class ProfileSyncService : public ProfileSyncServiceBase, |
GoogleServiceAuthError last_get_token_error_; |
base::Time next_token_request_time_; |
+ scoped_ptr<syncer::HttpPostProviderFactory> http_post_provider_factory_; |
rlarocque
2013/11/19 18:41:58
I'm pretty sure a boolean flag or a factory object
tim (not reviewing)
2013/11/19 20:29:26
An object responsible for server selection and con
pval...(no longer on Chromium)
2013/11/21 01:32:50
Correct about iOS. The PSS is already created by t
pval...(no longer on Chromium)
2013/11/21 01:32:50
I've uploaded a new patchset with a factory-factor
|
+ |
DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
}; |