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

Side by Side Diff: src/trusted/plugin/npapi/closure.h

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « src/trusted/plugin/npapi/browser_impl_npapi.cc ('k') | src/trusted/plugin/npapi/closure.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 /* 1 /*
2 * Copyright 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 // Generic and specialized closure classes. 7 // Generic and specialized closure classes.
8 // TODO(sehr): Closure support needs to be factored to be made portable. 8 // TODO(sehr): Closure support needs to be factored to be made portable.
9 9
10 10
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_ 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_ 12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_
13 13
14 #include "native_client/src/include/nacl_macros.h" 14 #include "native_client/src/include/nacl_macros.h"
15 #include "native_client/src/include/nacl_string.h" 15 #include "native_client/src/include/nacl_string.h"
16 #include "native_client/src/shared/npruntime/npmodule.h" 16 #include "native_client/src/shared/npruntime/npmodule.h"
17 #include "native_client/src/trusted/plugin/npapi/browser_impl_npapi.h" 17 #include "native_client/src/trusted/plugin/npapi/browser_impl_npapi.h"
18 #include "native_client/src/trusted/plugin/srpc/plugin.h" 18 #include "native_client/src/trusted/plugin/plugin.h"
19 19
20 namespace plugin { 20 namespace plugin {
21 21
22 class StreamShmBuffer; 22 class StreamShmBuffer;
23 23
24 // Closure base class. Following our C++ style rules, we have 24 // Closure base class. Following our C++ style rules, we have
25 // an explicit Run method rather than overload the operator(). 25 // an explicit Run method rather than overload the operator().
26 // 26 //
27 // This is pretty generic, actually, and not restricted to be used for 27 // This is pretty generic, actually, and not restricted to be used for
28 // notification callbacks. 28 // notification callbacks.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 NACL_DISALLOW_COPY_AND_ASSIGN(NpGetUrlClosure); 99 NACL_DISALLOW_COPY_AND_ASSIGN(NpGetUrlClosure);
100 nacl::NPModule* module_; 100 nacl::NPModule* module_;
101 NPP npp_; 101 NPP npp_;
102 int32_t notify_data_; 102 int32_t notify_data_;
103 bool call_url_notify_; 103 bool call_url_notify_;
104 }; 104 };
105 105
106 } // namespace plugin 106 } // namespace plugin
107 107
108 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_ 108 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_CLOSURE_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/npapi/browser_impl_npapi.cc ('k') | src/trusted/plugin/npapi/closure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698