| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 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 | 6 |
| 7 | 7 |
| 8 // Interface for browser interaction | 8 // Interface for browser interaction |
| 9 | 9 |
| 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ | 10 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ |
| 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ | 11 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ |
| 12 | 12 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 typedef std::map<nacl::string, uintptr_t> StringToIdentifierMap; | 48 typedef std::map<nacl::string, uintptr_t> StringToIdentifierMap; |
| 49 typedef std::map<uintptr_t, nacl::string> IdentifierToStringMap; | 49 typedef std::map<uintptr_t, nacl::string> IdentifierToStringMap; |
| 50 StringToIdentifierMap string_to_identifier_map_; | 50 StringToIdentifierMap string_to_identifier_map_; |
| 51 IdentifierToStringMap identifier_to_string_map_; | 51 IdentifierToStringMap identifier_to_string_map_; |
| 52 uintptr_t next_identifier; // will be incremented once used | 52 uintptr_t next_identifier; // will be incremented once used |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace plugin | 55 } // namespace plugin |
| 56 | 56 |
| 57 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ | 57 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_BROWSER_INTERFACE_H_ |
| OLD | NEW |