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_SHARED_CHANGE_PROCESSOR_MOCK_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_MOCK_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_MOCK_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_MOCK_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/sync/glue/shared_change_processor.h" | 8 #include "chrome/browser/sync/glue/shared_change_processor.h" |
10 #include "sync/api/sync_change.h" | 9 #include "sync/api/sync_change.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 SharedChangeProcessorMock : public SharedChangeProcessor { | 15 class SharedChangeProcessorMock : public SharedChangeProcessor { |
17 public: | 16 public: |
(...skipping 21 matching lines...) Expand all Loading... |
39 MOCK_METHOD2(OnUnrecoverableError, void(const tracked_objects::Location&, | 38 MOCK_METHOD2(OnUnrecoverableError, void(const tracked_objects::Location&, |
40 const std::string&)); | 39 const std::string&)); |
41 | 40 |
42 private: | 41 private: |
43 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessorMock); | 42 DISALLOW_COPY_AND_ASSIGN(SharedChangeProcessorMock); |
44 }; | 43 }; |
45 | 44 |
46 } // namespace browser_sync | 45 } // namespace browser_sync |
47 | 46 |
48 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_MOCK_H_ | 47 #endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_MOCK_H_ |
OLD | NEW |