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

Side by Side 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, 10 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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(PP_Instance instance,
17 SerializedResource resource);
18 virtual ~MockResource();
19
20 // Resource overrides.
21 virtual MockResource* AsMockResource();
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(MockResource);
25 };
26
27 } // namespace proxy
28 } // namespace pp
29
30 #endif // PPAPI_PROXY_MOCK_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698