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

Side by Side Diff: chrome/browser/nacl_host/pnacl_file_host.h

Issue 9158005: RFC: Add an interface for having the browser open a pnacl support file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, update for pnacl layout change Created 8 years, 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_NACL_HOST_PNACL_FILE_HOST_H_
6 #define CHROME_BROWSER_NACL_HOST_PNACL_FILE_HOST_H_
7 #pragma once
8
9 #include <string>
10
11 class ChromeRenderMessageFilter;
12
13 namespace IPC {
14 class Message;
15 } // namespace IPC
16
17 // Opens Pnacl Files in the Browser process, on behalf of the NaCl plugin.
18
19 namespace pnacl_file_host {
20
21 // Open a Pnacl file (readonly) on behalf of the NaCl plugin.
22 // TODO(jvoung): maybe use FilePaths, but there shouldn't be a path
23 // since this is just a simple flat filesystem.
24 void GetReadonlyPnaclFd(ChromeRenderMessageFilter* chrome_render_message_filter,
25 const std::string& filename,
26 IPC::Message* reply_msg);
27
28 } // namespace pnacl_file_host
29
30 #endif // CHROME_BROWSER_NACL_HOST_PNACL_FILE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698