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

Side by Side Diff: components/browser_sync/browser/profile_sync_test_util.h

Issue 1607473003: Create profile_sync_test_util in components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused #include Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_
7
8 #include "base/time/time.h"
9 #include "components/sync_driver/sync_service_observer.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11
12 namespace base {
13 class Time;
14 class TimeDelta;
15 }
16
droger 2016/01/18 16:58:44 Should this be in the browser_sync namespace?
vabr (Chromium) 2016/01/18 17:04:24 I was thinking about that, but the component does
stanisc 2016/01/19 19:04:00 The code in components/browser_sync has been moved
vabr (Chromium) 2016/01/20 16:43:41 Thanks! Done.
17 // An empty syncer::NetworkTimeUpdateCallback. Used in various tests to
18 // instantiate ProfileSyncService.
19 void EmptyNetworkTimeUpdate(const base::Time&,
20 const base::TimeDelta&,
21 const base::TimeDelta&);
22
23 class SyncServiceObserverMock : public sync_driver::SyncServiceObserver {
24 public:
25 SyncServiceObserverMock();
26 virtual ~SyncServiceObserverMock();
27
28 MOCK_METHOD0(OnStateChanged, void());
29 };
30
31 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698