| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TEST_TESTING_INSTANCE_H_ | 5 #ifndef PPAPI_TEST_TESTING_INSTANCE_H_ |
| 6 #define PPAPI_TEST_TESTING_INSTANCE_H_ | 6 #define PPAPI_TEST_TESTING_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/cpp/completion_callback.h" | 10 #include "ppapi/cpp/completion_callback.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 pp::CompletionCallbackFactory<TestingInstance> callback_factory_; | 63 pp::CompletionCallbackFactory<TestingInstance> callback_factory_; |
| 64 | 64 |
| 65 // Owning pointer to the current test case. Valid after Init has been called. | 65 // Owning pointer to the current test case. Valid after Init has been called. |
| 66 TestCase* current_case_; | 66 TestCase* current_case_; |
| 67 | 67 |
| 68 // Set once the tests are run so we know not to re-run when the view is sized. | 68 // Set once the tests are run so we know not to re-run when the view is sized. |
| 69 bool executed_tests_; | 69 bool executed_tests_; |
| 70 | 70 |
| 71 // Collects all errors to send the the browser. Empty indicates no error yet. | 71 // Collects all errors to send the the browser. Empty indicates no error yet. |
| 72 std::string errors_; | 72 std::string errors_; |
| 73 |
| 74 // True if running in Native Client. |
| 75 bool nacl_mode_; |
| 73 }; | 76 }; |
| 74 | 77 |
| 75 #endif // PPAPI_TEST_TESTING_INSTANCE_H_ | 78 #endif // PPAPI_TEST_TESTING_INSTANCE_H_ |
| OLD | NEW |