| OLD | NEW |
| 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_GLUE_CHANGE_PROCESSOR_MOCK_H__ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ |
| 6 #define CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ | 6 #define CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/sync/glue/change_processor.h" | 9 #include "chrome/browser/sync/glue/change_processor.h" |
| 10 #include "sync/internal_api/public/syncable/model_type.h" | 10 #include "sync/internal_api/public/syncable/model_type.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 MOCK_METHOD0(CommitChangesFromSyncModel, void()); | 24 MOCK_METHOD0(CommitChangesFromSyncModel, void()); |
| 25 MOCK_METHOD1(StartImpl, void(Profile*)); | 25 MOCK_METHOD1(StartImpl, void(Profile*)); |
| 26 MOCK_METHOD0(StopImpl, void()); | 26 MOCK_METHOD0(StopImpl, void()); |
| 27 MOCK_CONST_METHOD0(IsRunning, bool()); | 27 MOCK_CONST_METHOD0(IsRunning, bool()); |
| 28 MOCK_METHOD2(OnUnrecoverableError, void(const tracked_objects::Location&, | 28 MOCK_METHOD2(OnUnrecoverableError, void(const tracked_objects::Location&, |
| 29 const std::string&)); | 29 const std::string&)); |
| 30 MOCK_METHOD2(OnSingleDatatypeUnrecoverableError, | 30 MOCK_METHOD2(OnSingleDatatypeUnrecoverableError, |
| 31 void(const tracked_objects::Location&, | 31 void(const tracked_objects::Location&, |
| 32 const std::string&)); | 32 const std::string&)); |
| 33 MOCK_METHOD3(CreateAndUploadError, | 33 MOCK_METHOD3(CreateAndUploadError, |
| 34 SyncError(const tracked_objects::Location&, | 34 csync::SyncError(const tracked_objects::Location&, |
| 35 const std::string&, | 35 const std::string&, |
| 36 syncable::ModelType)); | 36 syncable::ModelType)); |
| 37 | 37 |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace browser_sync | 40 } // namespace browser_sync |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ | 42 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ |
| OLD | NEW |