OLD | NEW |
---|---|
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 COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
269 void SetSetupInProgress(bool setup_in_progress) override; | 269 void SetSetupInProgress(bool setup_in_progress) override; |
270 bool IsSetupInProgress() const override; | 270 bool IsSetupInProgress() const override; |
271 bool ConfigurationDone() const override; | 271 bool ConfigurationDone() const override; |
272 const GoogleServiceAuthError& GetAuthError() const override; | 272 const GoogleServiceAuthError& GetAuthError() const override; |
273 bool HasUnrecoverableError() const override; | 273 bool HasUnrecoverableError() const override; |
274 bool IsBackendInitialized() const override; | 274 bool IsBackendInitialized() const override; |
275 sync_driver::OpenTabsUIDelegate* GetOpenTabsUIDelegate() override; | 275 sync_driver::OpenTabsUIDelegate* GetOpenTabsUIDelegate() override; |
276 bool IsPassphraseRequiredForDecryption() const override; | 276 bool IsPassphraseRequiredForDecryption() const override; |
277 base::Time GetExplicitPassphraseTime() const override; | 277 base::Time GetExplicitPassphraseTime() const override; |
278 bool IsUsingSecondaryPassphrase() const override; | 278 bool IsUsingSecondaryPassphrase() const override; |
279 std::string GetCustomPassphraseKey() const; | |
Nicolas Zea
2015/11/17 22:47:45
This section is for SyncService implememtations. M
maxbogue
2015/11/17 23:25:31
Whoops, good catch. Meant to move this when I firs
| |
279 void EnableEncryptEverything() override; | 280 void EnableEncryptEverything() override; |
280 bool IsEncryptEverythingEnabled() const override; | 281 bool IsEncryptEverythingEnabled() const override; |
281 void SetEncryptionPassphrase(const std::string& passphrase, | 282 void SetEncryptionPassphrase(const std::string& passphrase, |
282 PassphraseType type) override; | 283 PassphraseType type) override; |
283 bool SetDecryptionPassphrase(const std::string& passphrase) override | 284 bool SetDecryptionPassphrase(const std::string& passphrase) override |
284 WARN_UNUSED_RESULT; | 285 WARN_UNUSED_RESULT; |
285 bool IsCryptographerReady( | 286 bool IsCryptographerReady( |
286 const syncer::BaseTransaction* trans) const override; | 287 const syncer::BaseTransaction* trans) const override; |
287 syncer::UserShare* GetUserShare() const override; | 288 syncer::UserShare* GetUserShare() const override; |
288 sync_driver::LocalDeviceInfoProvider* GetLocalDeviceInfoProvider() | 289 sync_driver::LocalDeviceInfoProvider* GetLocalDeviceInfoProvider() |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1007 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; | 1008 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; |
1008 | 1009 |
1009 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 1010 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
1010 }; | 1011 }; |
1011 | 1012 |
1012 bool ShouldShowActionOnUI( | 1013 bool ShouldShowActionOnUI( |
1013 const syncer::SyncProtocolError& error); | 1014 const syncer::SyncProtocolError& error); |
1014 | 1015 |
1015 | 1016 |
1016 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ | 1017 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |