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

Unified Diff: ppapi/proxy/mock_resource.h

Issue 6334016: Refactor PPAPI proxy resource handling to maintain which host they came from,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/image_data.cc ('k') | ppapi/proxy/mock_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/mock_resource.h
===================================================================
--- ppapi/proxy/mock_resource.h (revision 0)
+++ ppapi/proxy/mock_resource.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_PROXY_MOCK_RESOURCE_H_
+#define PPAPI_PROXY_MOCK_RESOURCE_H_
+
+#include "ppapi/c/pp_instance.h"
+#include "ppapi/proxy/plugin_resource.h"
+
+namespace pp {
+namespace proxy {
+
+class MockResource : public PluginResource {
+ public:
+ MockResource(const HostResource& resource);
+ virtual ~MockResource();
+
+ // Resource overrides.
+ virtual MockResource* AsMockResource();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MockResource);
+};
+
+} // namespace proxy
+} // namespace pp
+
+#endif // PPAPI_PROXY_MOCK_RESOURCE_H_
Property changes on: ppapi/proxy/mock_resource.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ppapi/proxy/image_data.cc ('k') | ppapi/proxy/mock_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698