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 | |
8 | 7 |
9 #include "chrome/browser/sync/glue/change_processor.h" | 8 #include "chrome/browser/sync/glue/change_processor.h" |
10 #include "sync/internal_api/public/base/model_type.h" | 9 #include "sync/internal_api/public/base/model_type.h" |
11 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 10 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
13 | 12 |
14 namespace browser_sync { | 13 namespace browser_sync { |
15 | 14 |
16 class ChangeProcessorMock | 15 class ChangeProcessorMock |
17 : public ChangeProcessor, public DataTypeErrorHandler{ | 16 : public ChangeProcessor, public DataTypeErrorHandler{ |
(...skipping 15 matching lines...) Expand all Loading... |
33 MOCK_METHOD3(CreateAndUploadError, | 32 MOCK_METHOD3(CreateAndUploadError, |
34 syncer::SyncError(const tracked_objects::Location&, | 33 syncer::SyncError(const tracked_objects::Location&, |
35 const std::string&, | 34 const std::string&, |
36 syncer::ModelType)); | 35 syncer::ModelType)); |
37 | 36 |
38 }; | 37 }; |
39 | 38 |
40 } // namespace browser_sync | 39 } // namespace browser_sync |
41 | 40 |
42 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ | 41 #endif // CHROME_BROWSER_SYNC_GLUE_CHANGE_PROCESSOR_MOCK_H__ |
OLD | NEW |