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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.h

Issue 1419103009: [Sync] Componentize ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@max_bogue_sync_backend_host
Patch Set: Rebase Created 5 years, 1 month 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 CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/sync/profile_sync_service.h" 13 #include "components/browser_sync/browser/profile_sync_service.h"
14 #include "components/signin/core/browser/profile_oauth2_token_service.h" 14 #include "components/signin/core/browser/profile_oauth2_token_service.h"
15 #include "components/sync_driver/data_type_manager_impl.h" 15 #include "components/sync_driver/data_type_manager_impl.h"
16 #include "components/sync_driver/glue/sync_backend_host_impl.h" 16 #include "components/sync_driver/glue/sync_backend_host_impl.h"
17 #include "components/sync_driver/sync_client.h" 17 #include "components/sync_driver/sync_client.h"
18 #include "components/sync_driver/sync_prefs.h" 18 #include "components/sync_driver/sync_prefs.h"
19 #include "content/public/browser/browser_context.h" 19 #include "content/public/browser/browser_context.h"
20 #include "sync/test/engine/test_id_factory.h" 20 #include "sync/test/engine/test_id_factory.h"
21 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
22 22
23 class Profile; 23 class Profile;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // and cause memory leak in test. 102 // and cause memory leak in test.
103 syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() override; 103 syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler() override;
104 104
105 bool NeedBackup() const override; 105 bool NeedBackup() const override;
106 106
107 private: 107 private:
108 syncer::TestIdFactory id_factory_; 108 syncer::TestIdFactory id_factory_;
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 111 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698