Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: ppapi/proxy/mock_resource.cc

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/mock_resource.h ('k') | ppapi/proxy/plugin_resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 using ppapi::HostResource;
8
7 namespace pp { 9 namespace pp {
8 namespace proxy { 10 namespace proxy {
9 11
10 MockResource::MockResource(const HostResource& resource) 12 MockResource::MockResource(const HostResource& resource)
11 : PluginResource(resource) { 13 : PluginResource(resource) {
12 } 14 }
13 15
14 MockResource::~MockResource() { 16 MockResource::~MockResource() {
15 } 17 }
16 18
17 MockResource* MockResource::AsMockResource() {
18 return this;
19 }
20
21 } // namespace proxy 19 } // namespace proxy
22 } // namespace pp 20 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/proxy/mock_resource.h ('k') | ppapi/proxy/plugin_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698