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

Side by Side Diff: webkit/glue/plugins/pepper_transport.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 years 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 | « webkit/glue/plugins/pepper_resource.cc ('k') | webkit/glue/plugins/pepper_transport.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) 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 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "webkit/glue/plugins/pepper_plugin_delegate.h" 10 #include "webkit/glue/plugins/pepper_plugin_delegate.h"
11 #include "webkit/glue/plugins/pepper_resource.h" 11 #include "webkit/glue/plugins/pepper_resource.h"
12 12
13 struct PPB_Transport_Dev; 13 struct PPB_Transport_Dev;
14 14
15 namespace pepper { 15 namespace pepper {
16 16
17 class Transport : public Resource { 17 class Transport : public Resource {
18 public: 18 public:
19 explicit Transport(PluginModule* module); 19 explicit Transport(PluginModule* module);
20 virtual ~Transport(); 20 virtual ~Transport();
21 static const PPB_Transport_Dev* GetInterface(); 21 static const PPB_Transport_Dev* GetInterface();
22 virtual Transport* AsTransport() { 22 virtual Transport* AsTransport();
23 return this;
24 }
25 bool Init(const char* name, 23 bool Init(const char* name,
26 const char* proto); 24 const char* proto);
27 private: 25 private:
28 26
29 DISALLOW_COPY_AND_ASSIGN(Transport); 27 DISALLOW_COPY_AND_ASSIGN(Transport);
30 }; 28 };
31 29
32 } // namespace pepper 30 } // namespace pepper
33 31
34 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 32 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_
35 33
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_resource.cc ('k') | webkit/glue/plugins/pepper_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698