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

Side by Side Diff: chrome/browser/sync/profile_sync_service_mock.h

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 7 years, 4 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 | Annotate | Revision Log
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 CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 MOCK_CONST_METHOD0(IsPassphraseRequired, bool()); 116 MOCK_CONST_METHOD0(IsPassphraseRequired, bool());
117 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool()); 117 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool());
118 MOCK_CONST_METHOD0(IsUsingSecondaryPassphrase, bool()); 118 MOCK_CONST_METHOD0(IsUsingSecondaryPassphrase, bool());
119 MOCK_CONST_METHOD0(GetPassphraseType, syncer::PassphraseType()); 119 MOCK_CONST_METHOD0(GetPassphraseType, syncer::PassphraseType());
120 MOCK_CONST_METHOD0(GetPassphraseTime, base::Time()); 120 MOCK_CONST_METHOD0(GetPassphraseTime, base::Time());
121 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time()); 121 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time());
122 122
123 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase)); 123 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase));
124 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase, 124 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
125 PassphraseType type)); 125 PassphraseType type));
126
127 MOCK_METHOD0(GetSessionModelAssociator,
Nicolas Zea 2013/08/19 23:54:41 nit: move this to be right above GetAllSignedInDev
128 browser_sync::SessionModelAssociator*());
126 }; 129 };
127 130
128 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 131 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698