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

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

Issue 7587011: Remove the old type system for proxied resources. These were no longer being used. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: New one 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 | « no previous file | ppapi/proxy/mock_resource.cc » ('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) 2011 The Chromium Authors. All rights reserved. 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 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 PPAPI_PROXY_MOCK_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_MOCK_RESOURCE_H_
6 #define PPAPI_PROXY_MOCK_RESOURCE_H_ 6 #define PPAPI_PROXY_MOCK_RESOURCE_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/proxy/plugin_resource.h" 9 #include "ppapi/proxy/plugin_resource.h"
10 10
11 namespace pp { 11 namespace pp {
12 namespace proxy { 12 namespace proxy {
13 13
14 class MockResource : public PluginResource { 14 class MockResource : public PluginResource {
15 public: 15 public:
16 MockResource(const HostResource& resource); 16 MockResource(const HostResource& resource);
17 virtual ~MockResource(); 17 virtual ~MockResource();
18 18
19 // Resource overrides.
20 virtual MockResource* AsMockResource();
21
22 private: 19 private:
23 DISALLOW_COPY_AND_ASSIGN(MockResource); 20 DISALLOW_COPY_AND_ASSIGN(MockResource);
24 }; 21 };
25 22
26 } // namespace proxy 23 } // namespace proxy
27 } // namespace pp 24 } // namespace pp
28 25
29 #endif // PPAPI_PROXY_MOCK_RESOURCE_H_ 26 #endif // PPAPI_PROXY_MOCK_RESOURCE_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/proxy/mock_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698