| 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/base/model_type.h" |
| 11 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 11 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 | 13 |
| 14 namespace browser_sync { | 14 namespace browser_sync { |
| 15 | 15 |
| 16 class ChangeProcessorMock | 16 class ChangeProcessorMock |
| 17 : public ChangeProcessor, public DataTypeErrorHandler{ | 17 : public ChangeProcessor, public DataTypeErrorHandler{ |
| 18 public: | 18 public: |
| 19 ChangeProcessorMock(); | 19 ChangeProcessorMock(); |
| 20 virtual ~ChangeProcessorMock(); | 20 virtual ~ChangeProcessorMock(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 MOCK_METHOD3(CreateAndUploadError, | 33 MOCK_METHOD3(CreateAndUploadError, |
| 34 syncer::SyncError(const tracked_objects::Location&, | 34 syncer::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 |