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

Side by Side Diff: chrome/common/nacl_types.h

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_NACL_TYPES_H_ 5 #ifndef CHROME_COMMON_NACL_TYPES_H_
6 #define CHROME_COMMON_NACL_TYPES_H_ 6 #define CHROME_COMMON_NACL_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 38
39 // Parameters sent to the NaCl process when we start it. 39 // Parameters sent to the NaCl process when we start it.
40 // 40 //
41 // If you change this, you will also need to update the IPC serialization in 41 // If you change this, you will also need to update the IPC serialization in
42 // nacl_messages.h. 42 // nacl_messages.h.
43 struct NaClStartParams { 43 struct NaClStartParams {
44 NaClStartParams(); 44 NaClStartParams();
45 ~NaClStartParams(); 45 ~NaClStartParams();
46 46
47 std::vector<FileDescriptor> handles; 47 std::vector<FileDescriptor> handles;
48 std::string channel_name;
48 std::string validation_cache_key; 49 std::string validation_cache_key;
49 50
50 // Chrome version string. Sending the version string over IPC avoids linkage 51 // Chrome version string. Sending the version string over IPC avoids linkage
51 // issues in cases where NaCl is not compiled into the main Chromium 52 // issues in cases where NaCl is not compiled into the main Chromium
52 // executable or DLL. 53 // executable or DLL.
53 std::string version; 54 std::string version;
54 55
55 bool enable_exception_handling; 56 bool enable_exception_handling;
56 }; 57 };
57 58
58 } // namespace nacl 59 } // namespace nacl
59 60
60 #endif // CHROME_COMMON_NACL_TYPES_H_ 61 #endif // CHROME_COMMON_NACL_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698