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

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

Issue 7861013: Fix the false-positive detection of commit errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another attempt at detecting errors Created 9 years, 2 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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 MOCK_CONST_METHOD1(GetRegisteredDataTypes, 56 MOCK_CONST_METHOD1(GetRegisteredDataTypes,
57 void(syncable::ModelTypeSet* registered_types)); 57 void(syncable::ModelTypeSet* registered_types));
58 MOCK_CONST_METHOD0(GetLastSessionSnapshot, 58 MOCK_CONST_METHOD0(GetLastSessionSnapshot,
59 const browser_sync::sessions::SyncSessionSnapshot*()); 59 const browser_sync::sessions::SyncSessionSnapshot*());
60 60
61 MOCK_METHOD0(QueryDetailedSyncStatus, 61 MOCK_METHOD0(QueryDetailedSyncStatus,
62 browser_sync::SyncBackendHost::Status()); 62 browser_sync::SyncBackendHost::Status());
63 MOCK_CONST_METHOD0(GetLastSyncedTimeString, string16()); 63 MOCK_CONST_METHOD0(GetLastSyncedTimeString, string16());
64 MOCK_CONST_METHOD0(unrecoverable_error_detected, bool()); 64 MOCK_CONST_METHOD0(unrecoverable_error_detected, bool());
65 MOCK_METHOD1(OnActionableError, void( 65 MOCK_METHOD1(OnActionableError, void(
66 const browser_sync::SyncProtocolError&)); 66 const browser_sync::SyncOperationResult&));
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 69 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | chrome/browser/sync/protocol/sync_protocol_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698