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

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

Issue 1501123003: Componentize ProfileSyncServiceMock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@565305_InitParam
Patch Set: Just rebased Created 5 years 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/profile_sync_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_mock.cc
diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc
deleted file mode 100644
index a267d80a1b1281563dd8fdde670a8ccbf925dfcf..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/profile_sync_service_mock.cc
+++ /dev/null
@@ -1,17 +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/profile_sync_service_mock.h"
-
-#include <utility>
-
-ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params)
- : ProfileSyncService(std::move(init_params)) {
- ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true));
-}
-
-ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params)
- : ProfileSyncServiceMock(std::move(*init_params)) {}
-
-ProfileSyncServiceMock::~ProfileSyncServiceMock() {}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/profile_sync_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698