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

Unified Diff: components/browser_sync/browser/test_profile_sync_service.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/browser/test_profile_sync_service.cc
diff --git a/components/browser_sync/browser/test_profile_sync_service.cc b/components/browser_sync/browser/test_profile_sync_service.cc
deleted file mode 100644
index 48ede525fde516ad9749966675401bcddda59799..0000000000000000000000000000000000000000
--- a/components/browser_sync/browser/test_profile_sync_service.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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/test_profile_sync_service.h"
-
-#include <utility>
-
-syncer::TestIdFactory* TestProfileSyncService::id_factory() {
- return &id_factory_;
-}
-
-syncer::WeakHandle<syncer::JsEventHandler>
-TestProfileSyncService::GetJsEventHandler() {
- return syncer::WeakHandle<syncer::JsEventHandler>();
-}
-
-TestProfileSyncService::TestProfileSyncService(
- ProfileSyncService::InitParams init_params)
- : ProfileSyncService(std::move(init_params)) {}
-
-TestProfileSyncService::~TestProfileSyncService() {}
-
-void TestProfileSyncService::OnConfigureDone(
- const sync_driver::DataTypeManager::ConfigureResult& result) {
- ProfileSyncService::OnConfigureDone(result);
- base::MessageLoop::current()->QuitWhenIdle();
-}
-
-syncer::UserShare* TestProfileSyncService::GetUserShare() const {
- return backend_->GetUserShare();
-}
« no previous file with comments | « components/browser_sync/browser/test_profile_sync_service.h ('k') | components/browser_sync/browser_sync_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698