OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_PROXY_MOCK_RESOURCE_H_ |
| 6 #define PPAPI_PROXY_MOCK_RESOURCE_H_ |
| 7 |
| 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/proxy/plugin_resource.h" |
| 10 |
| 11 namespace pp { |
| 12 namespace proxy { |
| 13 |
| 14 class MockResource : public PluginResource { |
| 15 public: |
| 16 MockResource(const HostResource& resource); |
| 17 virtual ~MockResource(); |
| 18 |
| 19 // Resource overrides. |
| 20 virtual MockResource* AsMockResource(); |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(MockResource); |
| 24 }; |
| 25 |
| 26 } // namespace proxy |
| 27 } // namespace pp |
| 28 |
| 29 #endif // PPAPI_PROXY_MOCK_RESOURCE_H_ |
OLD | NEW |