OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 MOCK_METHOD0(QueryDetailedSyncStatus, | 62 MOCK_METHOD0(QueryDetailedSyncStatus, |
63 browser_sync::SyncBackendHost::Status()); | 63 browser_sync::SyncBackendHost::Status()); |
64 MOCK_CONST_METHOD0(GetLastSyncedTimeString, string16()); | 64 MOCK_CONST_METHOD0(GetLastSyncedTimeString, string16()); |
65 MOCK_CONST_METHOD0(unrecoverable_error_detected, bool()); | 65 MOCK_CONST_METHOD0(unrecoverable_error_detected, bool()); |
66 MOCK_METHOD1(OnActionableError, void( | 66 MOCK_METHOD1(OnActionableError, void( |
67 const browser_sync::SyncProtocolError&)); | 67 const browser_sync::SyncProtocolError&)); |
68 | 68 |
69 MOCK_CONST_METHOD0(IsPassphraseRequired, bool()); | 69 MOCK_CONST_METHOD0(IsPassphraseRequired, bool()); |
70 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool()); | 70 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool()); |
| 71 |
| 72 MOCK_METHOD0(ShowErrorUI, void()); |
71 }; | 73 }; |
72 | 74 |
73 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ | 75 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ |
OLD | NEW |