OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "ppapi/tests/testing_instance.h" | 5 #include "ppapi/tests/testing_instance.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cstring> | 8 #include <cstring> |
9 #include <iomanip> | 9 #include <iomanip> |
10 #include <sstream> | 10 #include <sstream> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "ppapi/cpp/core.h" | 13 #include "ppapi/cpp/core.h" |
14 #include "ppapi/cpp/module.h" | 14 #include "ppapi/cpp/module.h" |
15 #include "ppapi/cpp/var.h" | 15 #include "ppapi/cpp/var.h" |
16 #include "ppapi/cpp/var_dictionary.h" | |
16 #include "ppapi/cpp/view.h" | 17 #include "ppapi/cpp/view.h" |
17 #include "ppapi/tests/test_case.h" | 18 #include "ppapi/tests/test_case.h" |
19 #include "ppapi/tests/test_utils.h" | |
raymes
2015/04/20 01:05:32
nit: I think these can be removed now?
tommycli
2015/04/20 18:04:01
Done.
| |
18 | 20 |
19 TestCaseFactory* TestCaseFactory::head_ = NULL; | 21 TestCaseFactory* TestCaseFactory::head_ = NULL; |
20 | 22 |
21 // Cookie value we use to signal "we're still working." See the comment above | 23 // Cookie value we use to signal "we're still working." See the comment above |
22 // the class declaration for how this works. | 24 // the class declaration for how this works. |
23 static const char kProgressSignal[] = "..."; | 25 static const char kProgressSignal[] = "..."; |
24 | 26 |
25 // Returns a new heap-allocated test case for the given test, or NULL on | 27 // Returns a new heap-allocated test case for the given test, or NULL on |
26 // failure. | 28 // failure. |
27 TestingInstance::TestingInstance(PP_Instance instance) | 29 TestingInstance::TestingInstance(PP_Instance instance) |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
322 } | 324 } |
323 }; | 325 }; |
324 | 326 |
325 namespace pp { | 327 namespace pp { |
326 | 328 |
327 Module* CreateModule() { | 329 Module* CreateModule() { |
328 return new ::Module(); | 330 return new ::Module(); |
329 } | 331 } |
330 | 332 |
331 } // namespace pp | 333 } // namespace pp |
OLD | NEW |