| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 WEBKIT_GLUE_MOCK_RESOURCE_LOADER_BRIDGE_H_ | 5 #ifndef WEBKIT_MOCKS_MOCK_RESOURCE_LOADER_BRIDGE_H_ |
| 6 #define WEBKIT_GLUE_MOCK_RESOURCE_LOADER_BRIDGE_H_ | 6 #define WEBKIT_MOCKS_MOCK_RESOURCE_LOADER_BRIDGE_H_ |
| 7 | 7 |
| 8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
| 9 #include "webkit/glue/resource_loader_bridge.h" | 9 #include "webkit/glue/resource_loader_bridge.h" |
| 10 | 10 |
| 11 class FilePath; | 11 class FilePath; |
| 12 | 12 |
| 13 namespace webkit_glue { | 13 namespace webkit_glue { |
| 14 | 14 |
| 15 class MockResourceLoaderBridge : public webkit_glue::ResourceLoaderBridge { | 15 class MockResourceLoaderBridge : public webkit_glue::ResourceLoaderBridge { |
| 16 public: | 16 public: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 MOCK_METHOD1(SetDefersLoading, void(bool value)); | 34 MOCK_METHOD1(SetDefersLoading, void(bool value)); |
| 35 MOCK_METHOD1(SyncLoad, void(SyncLoadResponse* response)); | 35 MOCK_METHOD1(SyncLoad, void(SyncLoadResponse* response)); |
| 36 MOCK_METHOD0(OnDestroy, void()); | 36 MOCK_METHOD0(OnDestroy, void()); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 DISALLOW_COPY_AND_ASSIGN(MockResourceLoaderBridge); | 39 DISALLOW_COPY_AND_ASSIGN(MockResourceLoaderBridge); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace webkit_glue | 42 } // namespace webkit_glue |
| 43 | 43 |
| 44 #endif // WEBKIT_GLUE_MOCK_RESOURCE_LOADER_BRIDGE_H_ | 44 #endif // WEBKIT_MOCKS_MOCK_RESOURCE_LOADER_BRIDGE_H_ |
| OLD | NEW |