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

Side by Side Diff: components/browser_sync/browser/test_profile_sync_service.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_ 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_ 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/browser_sync/browser/profile_sync_service.h" 9 #include "components/browser_sync/browser/profile_sync_service.h"
10 #include "components/sync/base/weak_handle.h"
11 #include "components/sync/js/js_event_handler.h"
12 #include "components/sync/test/engine/test_id_factory.h"
10 #include "components/sync_driver/data_type_manager.h" 13 #include "components/sync_driver/data_type_manager.h"
11 #include "sync/internal_api/public/util/weak_handle.h"
12 #include "sync/js/js_event_handler.h"
13 #include "sync/test/engine/test_id_factory.h"
14 14
15 namespace sync_driver { 15 namespace sync_driver {
16 class SyncPrefs; 16 class SyncPrefs;
17 } // namespace sync_driver 17 } // namespace sync_driver
18 18
19 class TestProfileSyncService : public ProfileSyncService { 19 class TestProfileSyncService : public ProfileSyncService {
20 public: 20 public:
21 explicit TestProfileSyncService(InitParams init_params); 21 explicit TestProfileSyncService(InitParams init_params);
22 22
23 ~TestProfileSyncService() override; 23 ~TestProfileSyncService() override;
(...skipping 17 matching lines...) Expand all
41 // and cause memory leak in test. 41 // and cause memory leak in test.
42 syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() override; 42 syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() override;
43 43
44 private: 44 private:
45 syncer::TestIdFactory id_factory_; 45 syncer::TestIdFactory id_factory_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(TestProfileSyncService); 47 DISALLOW_COPY_AND_ASSIGN(TestProfileSyncService);
48 }; 48 };
49 49
50 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_ 50 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/test_http_bridge_factory.h ('k') | components/browser_sync/common/browser_sync_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698