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

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

Issue 1314903004: Sync: Refactoring DataTypeController to make the design shareable with USS datatypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments Created 5 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
« no previous file with comments | « components/sync_driver/fake_sync_client.cc ('k') | components/sync_driver/fake_sync_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/sync_driver/sync_service.h" 8 #include "components/sync_driver/sync_service.h"
9 #include "google_apis/gaia/google_service_auth_error.h" 9 #include "google_apis/gaia/google_service_auth_error.h"
10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 std::string unrecoverable_error_message() const override; 75 std::string unrecoverable_error_message() const override;
76 tracked_objects::Location unrecoverable_error_location() const override; 76 tracked_objects::Location unrecoverable_error_location() const override;
77 77
78 // DataTypeEncryptionHandler: 78 // DataTypeEncryptionHandler:
79 bool IsPassphraseRequired() const override; 79 bool IsPassphraseRequired() const override;
80 syncer::ModelTypeSet GetEncryptedDataTypes() const override; 80 syncer::ModelTypeSet GetEncryptedDataTypes() const override;
81 81
82 GoogleServiceAuthError error_; 82 GoogleServiceAuthError error_;
83 GURL sync_service_url_; 83 GURL sync_service_url_;
84 std::string unrecoverable_error_message_; 84 std::string unrecoverable_error_message_;
85 scoped_ptr<syncer::UserShare> user_share_;
85 }; 86 };
86 87
87 } // namespace sync_driver 88 } // namespace sync_driver
88 89
89 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 90 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync_driver/fake_sync_client.cc ('k') | components/sync_driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698