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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 1692873004: Move ProfileSyncService tests for autofill & typed URLs to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@581640_no_browser_thread
Patch Set: Just rebased Created 4 years, 10 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: chrome/browser/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
deleted file mode 100644
index 9909e337fbc79a7d315bfb7660e3b4a7d7272e8f..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ /dev/null
@@ -1,36 +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 "chrome/browser/sync/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();
-}
-
-bool TestProfileSyncService::NeedBackup() const {
- return false;
-}
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | chrome/browser/ui/sync/one_click_signin_sync_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698