cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ios / chrome / browser / sync / sync_setup_service_mock.h
blobaa2f8eaa1daf8f5fe6ab0eef66c5c048f788f7ff
1 // Copyright 2013 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.
5 #ifndef IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_MOCK_H_
6 #define IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_MOCK_H_
8 #include "ios/chrome/browser/sync/sync_setup_service.h"
10 #include "testing/gmock/include/gmock/gmock.h"
12 // Mock for the class that allows configuring sync on iOS.
13 class SyncSetupServiceMock : public SyncSetupService {
14 public:
15 SyncSetupServiceMock(sync_driver::SyncService* sync_service,
16 PrefService* prefs);
17 ~SyncSetupServiceMock();
19 MOCK_CONST_METHOD0(IsSyncEnabled, bool());
21 MOCK_CONST_METHOD0(IsSyncingAllDataTypes, bool());
23 MOCK_METHOD0(GetSyncServiceState, SyncServiceState());
25 MOCK_CONST_METHOD1(IsDataTypeEnabled, bool(syncer::ModelType));
28 #endif // IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_MOCK_H_