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

Side by Side Diff: components/ntp_snippets/remote/ntp_snippets_test_utils.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_
6 #define COMPONENTS_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_ 6 #define COMPONENTS_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/sync/driver/fake_sync_service.h" 10 #include "components/sync/driver/fake_sync_service.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 class AccountTrackerService; 13 class AccountTrackerService;
14 class FakeSigninManagerBase; 14 class FakeSigninManagerBase;
15 class MockSyncService; 15 class MockSyncService;
16 class TestingPrefServiceSimple; 16 class TestingPrefServiceSimple;
17 class TestSigninClient; 17 class TestSigninClient;
18 18
19 namespace ntp_snippets { 19 namespace ntp_snippets {
20 namespace test { 20 namespace test {
21 21
22 class FakeSyncService : public syncer::FakeSyncService { 22 class FakeSyncService : public sync_driver::FakeSyncService {
23 public: 23 public:
24 FakeSyncService(); 24 FakeSyncService();
25 ~FakeSyncService() override; 25 ~FakeSyncService() override;
26 26
27 bool CanSyncStart() const override; 27 bool CanSyncStart() const override;
28 bool IsSyncActive() const override; 28 bool IsSyncActive() const override;
29 bool ConfigurationDone() const override; 29 bool ConfigurationDone() const override;
30 bool IsEncryptEverythingEnabled() const override; 30 bool IsEncryptEverythingEnabled() const override;
31 syncer::ModelTypeSet GetActiveDataTypes() const override; 31 syncer::ModelTypeSet GetActiveDataTypes() const override;
32 32
(...skipping 24 matching lines...) Expand all
57 std::unique_ptr<FakeSyncService> fake_sync_service_; 57 std::unique_ptr<FakeSyncService> fake_sync_service_;
58 std::unique_ptr<TestingPrefServiceSimple> pref_service_; 58 std::unique_ptr<TestingPrefServiceSimple> pref_service_;
59 std::unique_ptr<TestSigninClient> signin_client_; 59 std::unique_ptr<TestSigninClient> signin_client_;
60 std::unique_ptr<AccountTrackerService> account_tracker_; 60 std::unique_ptr<AccountTrackerService> account_tracker_;
61 }; 61 };
62 62
63 } // namespace test 63 } // namespace test
64 } // namespace ntp_snippets 64 } // namespace ntp_snippets
65 65
66 #endif // COMPONENTS_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_ 66 #endif // COMPONENTS_NTP_SNIPPETS_REMOTE_NTP_SNIPPETS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/web_history_service.cc ('k') | components/ntp_snippets/sessions/tab_delegate_sync_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698