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

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

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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/browser_sync/browser/profile_sync_service.h" 13 #include "components/browser_sync/browser/profile_sync_service.h"
14 #include "components/sync_driver/change_processor.h" 14 #include "components/sync_driver/change_processor.h"
15 #include "components/sync_driver/data_type_controller.h" 15 #include "components/sync_driver/data_type_controller.h"
16 #include "components/sync_driver/device_info.h" 16 #include "components/sync_driver/device_info.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 MOCK_CONST_METHOD0(GetPassphraseType, syncer::PassphraseType()); 94 MOCK_CONST_METHOD0(GetPassphraseType, syncer::PassphraseType());
95 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time()); 95 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time());
96 96
97 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase)); 97 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase));
98 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase, 98 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
99 PassphraseType type)); 99 PassphraseType type));
100 100
101 MOCK_METHOD1(StartUpSlowBackendComponents, void(BackendMode)); 101 MOCK_METHOD1(StartUpSlowBackendComponents, void(BackendMode));
102 }; 102 };
103 103
104 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 104 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/BUILD.gn ('k') | components/browser_sync/browser/profile_sync_service_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698