| 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 #include "ppapi/proxy/mock_resource.h" | 5 #include "ppapi/proxy/mock_resource.h" |
| 6 | 6 |
| 7 namespace pp { | 7 namespace pp { |
| 8 namespace proxy { | 8 namespace proxy { |
| 9 | 9 |
| 10 MockResource::MockResource(const HostResource& resource) | 10 MockResource::MockResource(const HostResource& resource) |
| 11 : PluginResource(resource) { | 11 : PluginResource(resource) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 MockResource::~MockResource() { | 14 MockResource::~MockResource() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 MockResource* MockResource::AsMockResource() { | |
| 18 return this; | |
| 19 } | |
| 20 | |
| 21 } // namespace proxy | 17 } // namespace proxy |
| 22 } // namespace pp | 18 } // namespace pp |
| OLD | NEW |