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

Side by Side Diff: ppapi/nacl_irt/manifest_service.h

Issue 249183004: Implement open_resource in non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | « ppapi/nacl_irt/irt_manifest.h ('k') | ppapi/nacl_irt/manifest_service.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PPAPI_NACL_IRT_MANIFEST_SERVICE_H_ 5 #ifndef PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
6 #define PPAPI_NACL_IRT_MANIFEST_SERVICE_H_ 6 #define PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 12 matching lines...) Expand all
23 namespace ppapi { 23 namespace ppapi {
24 24
25 class ManifestService { 25 class ManifestService {
26 public: 26 public:
27 ManifestService(const IPC::ChannelHandle& handle, 27 ManifestService(const IPC::ChannelHandle& handle,
28 scoped_refptr<base::MessageLoopProxy> io_message_loop, 28 scoped_refptr<base::MessageLoopProxy> io_message_loop,
29 base::WaitableEvent* shutdown_event); 29 base::WaitableEvent* shutdown_event);
30 ~ManifestService(); 30 ~ManifestService();
31 31
32 void StartupInitializationComplete(); 32 void StartupInitializationComplete();
33 bool OpenResource(const char* file, int* fd);
33 34
34 private: 35 private:
35 scoped_ptr<IPC::ChannelProxy> channel_; 36 scoped_ptr<IPC::ChannelProxy> channel_;
36 scoped_refptr<IPC::SyncMessageFilter> filter_; 37 scoped_refptr<IPC::SyncMessageFilter> filter_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(ManifestService); 39 DISALLOW_COPY_AND_ASSIGN(ManifestService);
39 }; 40 };
40 41
41 } // namespace ppapi 42 } // namespace ppapi
42 43
43 #endif // PPAPI_NACL_IRT_MANIFEST_SERVICE_H_ 44 #endif // PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/irt_manifest.h ('k') | ppapi/nacl_irt/manifest_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698