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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/sync/profile_sync_service_mock.h"
6
7 #include <utility>
8
9 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params)
10 : ProfileSyncService(std::move(init_params)) {
11 ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true));
12 }
13
14 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params)
15 : ProfileSyncServiceMock(std::move(*init_params)) {}
16
17 ProfileSyncServiceMock::~ProfileSyncServiceMock() {}
OLDNEW
« 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