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

Unified Diff: components/browser_sync/profile_sync_test_util.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/browser_sync/profile_sync_test_util.cc
diff --git a/components/browser_sync/browser/profile_sync_test_util.cc b/components/browser_sync/profile_sync_test_util.cc
similarity index 91%
rename from components/browser_sync/browser/profile_sync_test_util.cc
rename to components/browser_sync/profile_sync_test_util.cc
index 03925bbc094562181c92c65c34e2a1b52fcbbde3..4efdbeec9beca0c63394848de31abdde80bbea66 100644
--- a/components/browser_sync/browser/profile_sync_test_util.cc
+++ b/components/browser_sync/profile_sync_test_util.cc
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/browser_sync/browser/profile_sync_test_util.h"
+#include "components/browser_sync/profile_sync_test_util.h"
+
+#include <utility>
#include "base/memory/ptr_util.h"
#include "components/bookmarks/browser/bookmark_model.h"
@@ -22,20 +24,19 @@ namespace {
class BundleSyncClient : public sync_driver::FakeSyncClient {
public:
- BundleSyncClient(
- sync_driver::SyncApiComponentFactory* factory,
- PrefService* pref_service,
- sync_sessions::SyncSessionsClient* sync_sessions_client,
- autofill::PersonalDataManager* personal_data_manager,
- const base::Callback<base::WeakPtr<syncer::SyncableService>(
- syncer::ModelType type)>& get_syncable_service_callback,
- const base::Callback<sync_driver::SyncService*(void)>&
- get_sync_service_callback,
- const base::Callback<bookmarks::BookmarkModel*(void)>&
- get_bookmark_model_callback,
- scoped_refptr<base::SingleThreadTaskRunner> db_thread,
- scoped_refptr<base::SingleThreadTaskRunner> file_thread,
- history::HistoryService* history_service);
+ BundleSyncClient(sync_driver::SyncApiComponentFactory* factory,
+ PrefService* pref_service,
+ sync_sessions::SyncSessionsClient* sync_sessions_client,
+ autofill::PersonalDataManager* personal_data_manager,
+ const base::Callback<base::WeakPtr<syncer::SyncableService>(
+ syncer::ModelType type)>& get_syncable_service_callback,
+ const base::Callback<sync_driver::SyncService*(void)>&
+ get_sync_service_callback,
+ const base::Callback<bookmarks::BookmarkModel*(void)>&
+ get_bookmark_model_callback,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> file_thread,
+ history::HistoryService* history_service);
~BundleSyncClient() override;
« no previous file with comments | « components/browser_sync/profile_sync_test_util.h ('k') | components/browser_sync/signin_confirmation_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698