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

Side by Side Diff: components/sync/driver/fake_sync_service.h

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 syncer::ModelTypeSet chosen_types) override; 46 syncer::ModelTypeSet chosen_types) override;
47 void SetFirstSetupComplete() override; 47 void SetFirstSetupComplete() override;
48 bool IsFirstSetupInProgress() const override; 48 bool IsFirstSetupInProgress() const override;
49 std::unique_ptr<SyncSetupInProgressHandle> GetSetupInProgressHandle() 49 std::unique_ptr<SyncSetupInProgressHandle> GetSetupInProgressHandle()
50 override; 50 override;
51 bool IsSetupInProgress() const override; 51 bool IsSetupInProgress() const override;
52 bool ConfigurationDone() const override; 52 bool ConfigurationDone() const override;
53 const GoogleServiceAuthError& GetAuthError() const override; 53 const GoogleServiceAuthError& GetAuthError() const override;
54 bool HasUnrecoverableError() const override; 54 bool HasUnrecoverableError() const override;
55 bool IsBackendInitialized() const override; 55 bool IsBackendInitialized() const override;
56 OpenTabsUIDelegate* GetOpenTabsUIDelegate() override; 56 sync_sessions::OpenTabsUIDelegate* GetOpenTabsUIDelegate() override;
57 bool IsPassphraseRequiredForDecryption() const override; 57 bool IsPassphraseRequiredForDecryption() const override;
58 base::Time GetExplicitPassphraseTime() const override; 58 base::Time GetExplicitPassphraseTime() const override;
59 bool IsUsingSecondaryPassphrase() const override; 59 bool IsUsingSecondaryPassphrase() const override;
60 void EnableEncryptEverything() override; 60 void EnableEncryptEverything() override;
61 bool IsEncryptEverythingEnabled() const override; 61 bool IsEncryptEverythingEnabled() const override;
62 void SetEncryptionPassphrase(const std::string& passphrase, 62 void SetEncryptionPassphrase(const std::string& passphrase,
63 PassphraseType type) override; 63 PassphraseType type) override;
64 bool SetDecryptionPassphrase(const std::string& passphrase) override; 64 bool SetDecryptionPassphrase(const std::string& passphrase) override;
65 bool IsCryptographerReady( 65 bool IsCryptographerReady(
66 const syncer::BaseTransaction* trans) const override; 66 const syncer::BaseTransaction* trans) const override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 GoogleServiceAuthError error_; 99 GoogleServiceAuthError error_;
100 GURL sync_service_url_; 100 GURL sync_service_url_;
101 std::string unrecoverable_error_message_; 101 std::string unrecoverable_error_message_;
102 std::unique_ptr<syncer::UserShare> user_share_; 102 std::unique_ptr<syncer::UserShare> user_share_;
103 }; 103 };
104 104
105 } // namespace sync_driver 105 } // namespace sync_driver
106 106
107 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 107 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync/driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698