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

Side by Side Diff: components/nacl/renderer/plugin/plugin.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/nacl_subprocess.h ('k') | components/navigation_interception/intercept_navigation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698