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 #include "ppapi/tests/test_flash.h" | 5 #include "ppapi/tests/test_flash.h" |
6 | 6 |
7 #include "ppapi/c/pp_macros.h" | 7 #include "ppapi/c/pp_macros.h" |
8 #include "ppapi/c/private/ppb_flash.h" | 8 #include "ppapi/c/private/ppb_flash.h" |
9 #include "ppapi/cpp/completion_callback.h" | |
noelallen1
2012/01/03 23:44:34
completion_callback_factory?
I think this compile
| |
9 #include "ppapi/cpp/instance.h" | 10 #include "ppapi/cpp/instance.h" |
10 #include "ppapi/cpp/module.h" | 11 #include "ppapi/cpp/module.h" |
11 #include "ppapi/cpp/var.h" | 12 #include "ppapi/cpp/var.h" |
12 #include "ppapi/tests/testing_instance.h" | 13 #include "ppapi/tests/testing_instance.h" |
13 | 14 |
14 REGISTER_TEST_CASE(Flash); | 15 REGISTER_TEST_CASE(Flash); |
15 | 16 |
16 using pp::Var; | 17 using pp::Var; |
17 | 18 |
18 TestFlash::TestFlash(TestingInstance* instance) | 19 TestFlash::TestFlash(TestingInstance* instance) |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 flash_interface_->GetCommandLineArgs( | 96 flash_interface_->GetCommandLineArgs( |
96 pp::Module::Get()->pp_module())); | 97 pp::Module::Get()->pp_module())); |
97 ASSERT_TRUE(result.is_string()); | 98 ASSERT_TRUE(result.is_string()); |
98 | 99 |
99 PASS(); | 100 PASS(); |
100 } | 101 } |
101 | 102 |
102 void TestFlash::QuitMessageLoopTask(int32_t) { | 103 void TestFlash::QuitMessageLoopTask(int32_t) { |
103 flash_interface_->QuitMessageLoop(instance_->pp_instance()); | 104 flash_interface_->QuitMessageLoop(instance_->pp_instance()); |
104 } | 105 } |
OLD | NEW |