OLD | NEW |
1 // -*- c++ -*- | 1 // -*- c++ -*- |
2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 // The portable representation of an instance and root scriptable object. | 6 // The portable representation of an instance and root scriptable object. |
7 // The PPAPI version of the plugin instantiates a subclass of this class. | 7 // The PPAPI version of the plugin instantiates a subclass of this class. |
8 | 8 |
9 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ | 9 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ |
10 #define COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ | 10 #define COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "ppapi/cpp/instance.h" | 23 #include "ppapi/cpp/instance.h" |
24 #include "ppapi/cpp/private/uma_private.h" | 24 #include "ppapi/cpp/private/uma_private.h" |
25 #include "ppapi/cpp/url_loader.h" | 25 #include "ppapi/cpp/url_loader.h" |
26 #include "ppapi/cpp/var.h" | 26 #include "ppapi/cpp/var.h" |
27 #include "ppapi/cpp/view.h" | 27 #include "ppapi/cpp/view.h" |
28 #include "ppapi/utility/completion_callback_factory.h" | 28 #include "ppapi/utility/completion_callback_factory.h" |
29 | 29 |
30 namespace pp { | 30 namespace pp { |
31 class CompletionCallback; | 31 class CompletionCallback; |
32 class URLLoader; | 32 class URLLoader; |
33 class URLUtil_Dev; | |
34 } | 33 } |
35 | 34 |
36 namespace plugin { | 35 namespace plugin { |
37 | 36 |
38 class ErrorInfo; | 37 class ErrorInfo; |
39 class Manifest; | |
40 | 38 |
41 const PP_NaClFileInfo kInvalidNaClFileInfo = { | 39 const PP_NaClFileInfo kInvalidNaClFileInfo = { |
42 PP_kInvalidFileHandle, | 40 PP_kInvalidFileHandle, |
43 0, // token_lo | 41 0, // token_lo |
44 0, // token_hi | 42 0, // token_hi |
45 }; | 43 }; |
46 | 44 |
47 class Plugin : public pp::Instance { | 45 class Plugin : public pp::Instance { |
48 public: | 46 public: |
49 explicit Plugin(PP_Instance instance); | 47 explicit Plugin(PP_Instance instance); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 PP_NaClFileInfo nexe_file_info_; | 135 PP_NaClFileInfo nexe_file_info_; |
138 | 136 |
139 pp::UMAPrivate uma_interface_; | 137 pp::UMAPrivate uma_interface_; |
140 | 138 |
141 DISALLOW_COPY_AND_ASSIGN(Plugin); | 139 DISALLOW_COPY_AND_ASSIGN(Plugin); |
142 }; | 140 }; |
143 | 141 |
144 } // namespace plugin | 142 } // namespace plugin |
145 | 143 |
146 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ | 144 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_H_ |
OLD | NEW |