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

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

Issue 2148293004: [Sync] //components/sync external changes [DO NOT SUBMIT] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sc-1
Patch Set: Rebase. Created 4 years, 4 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/sessions/sync_session_snapshot.h"
10 #include "components/sync_driver/sync_service.h" 11 #include "components/sync_driver/sync_service.h"
11 #include "google_apis/gaia/google_service_auth_error.h" 12 #include "google_apis/gaia/google_service_auth_error.h"
12 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 class BaseTransaction; 15 class BaseTransaction;
16 struct UserShare; 16 struct UserShare;
17 } 17 }
18 18
19 namespace sync_driver { 19 namespace sync_driver {
20 20
21 // Fake implementation of sync_driver::SyncService, used for testing. 21 // Fake implementation of sync_driver::SyncService, used for testing.
22 class FakeSyncService : public sync_driver::SyncService { 22 class FakeSyncService : public sync_driver::SyncService {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 GoogleServiceAuthError error_; 97 GoogleServiceAuthError error_;
98 GURL sync_service_url_; 98 GURL sync_service_url_;
99 std::string unrecoverable_error_message_; 99 std::string unrecoverable_error_message_;
100 std::unique_ptr<syncer::UserShare> user_share_; 100 std::unique_ptr<syncer::UserShare> user_share_;
101 }; 101 };
102 102
103 } // namespace sync_driver 103 } // namespace sync_driver
104 104
105 #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