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

Side by Side Diff: components/sync_driver/fake_sync_service.h

Issue 2044303004: Sync: Support multiple setup UIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename variable Created 4 years, 6 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 <string> 8 #include <string>
9 9
10 #include "components/sync_driver/sync_service.h" 10 #include "components/sync_driver/sync_service.h"
(...skipping 27 matching lines...) Expand all
38 void OnDataTypeRequestsSyncStartup(syncer::ModelType type) override; 38 void OnDataTypeRequestsSyncStartup(syncer::ModelType type) override;
39 bool CanSyncStart() const override; 39 bool CanSyncStart() const override;
40 void RequestStop( 40 void RequestStop(
41 sync_driver::SyncService::SyncStopDataFate data_fate) override; 41 sync_driver::SyncService::SyncStopDataFate data_fate) override;
42 void RequestStart() override; 42 void RequestStart() override;
43 syncer::ModelTypeSet GetPreferredDataTypes() const override; 43 syncer::ModelTypeSet GetPreferredDataTypes() const override;
44 void OnUserChoseDatatypes(bool sync_everything, 44 void OnUserChoseDatatypes(bool sync_everything,
45 syncer::ModelTypeSet chosen_types) override; 45 syncer::ModelTypeSet chosen_types) override;
46 void SetFirstSetupComplete() override; 46 void SetFirstSetupComplete() override;
47 bool IsFirstSetupInProgress() const override; 47 bool IsFirstSetupInProgress() const override;
48 void SetSetupInProgress(bool setup_in_progress) override; 48 std::unique_ptr<SyncSetupInProgressHandle> GetSetupInProgressHandle()
49 override;
49 bool IsSetupInProgress() const override; 50 bool IsSetupInProgress() const override;
50 bool ConfigurationDone() const override; 51 bool ConfigurationDone() const override;
51 const GoogleServiceAuthError& GetAuthError() const override; 52 const GoogleServiceAuthError& GetAuthError() const override;
52 bool HasUnrecoverableError() const override; 53 bool HasUnrecoverableError() const override;
53 bool IsBackendInitialized() const override; 54 bool IsBackendInitialized() const override;
54 OpenTabsUIDelegate* GetOpenTabsUIDelegate() override; 55 OpenTabsUIDelegate* GetOpenTabsUIDelegate() override;
55 bool IsPassphraseRequiredForDecryption() const override; 56 bool IsPassphraseRequiredForDecryption() const override;
56 base::Time GetExplicitPassphraseTime() const override; 57 base::Time GetExplicitPassphraseTime() const override;
57 bool IsUsingSecondaryPassphrase() const override; 58 bool IsUsingSecondaryPassphrase() const override;
58 void EnableEncryptEverything() override; 59 void EnableEncryptEverything() override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 96
96 GoogleServiceAuthError error_; 97 GoogleServiceAuthError error_;
97 GURL sync_service_url_; 98 GURL sync_service_url_;
98 std::string unrecoverable_error_message_; 99 std::string unrecoverable_error_message_;
99 std::unique_ptr<syncer::UserShare> user_share_; 100 std::unique_ptr<syncer::UserShare> user_share_;
100 }; 101 };
101 102
102 } // namespace sync_driver 103 } // namespace sync_driver
103 104
104 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 105 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698