OLD | NEW |
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 PPAPI_TESTS_TESTING_INSTANCE_H_ | 5 #ifndef PPAPI_TESTS_TESTING_INSTANCE_H_ |
6 #define PPAPI_TESTS_TESTING_INSTANCE_H_ | 6 #define PPAPI_TESTS_TESTING_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/cpp/completion_callback.h" | 10 #include "ppapi/utility/completion_callback_factory.h" |
11 | 11 |
12 #if defined(__native_client__) | 12 #if defined(__native_client__) |
13 #include "ppapi/cpp/instance.h" | 13 #include "ppapi/cpp/instance.h" |
14 #else | 14 #else |
15 #include "ppapi/cpp/private/instance_private.h" | 15 #include "ppapi/cpp/private/instance_private.h" |
16 #endif | 16 #endif |
17 | 17 |
18 class TestCase; | 18 class TestCase; |
19 | 19 |
20 // How signaling works: | 20 // How signaling works: |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 // True if running in Native Client. | 139 // True if running in Native Client. |
140 bool nacl_mode_; | 140 bool nacl_mode_; |
141 | 141 |
142 // String representing the protocol. Used for detecting whether we're running | 142 // String representing the protocol. Used for detecting whether we're running |
143 // with http. | 143 // with http. |
144 std::string protocol_; | 144 std::string protocol_; |
145 }; | 145 }; |
146 | 146 |
147 #endif // PPAPI_TESTS_TESTING_INSTANCE_H_ | 147 #endif // PPAPI_TESTS_TESTING_INSTANCE_H_ |
OLD | NEW |