| 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 WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ | 6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ |
| 7 | 7 |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 11 #include "webkit/glue/plugins/test/plugin_test.h" | 9 #include "webkit/glue/plugins/test/plugin_test.h" |
| 12 | 10 |
| 13 namespace base { | 11 namespace base { |
| 14 class AtExitManager; | 12 class AtExitManager; |
| 15 } | 13 } |
| 16 | 14 |
| 17 namespace NPAPIClient { | 15 namespace NPAPIClient { |
| 18 | 16 |
| 19 // This class tests scheduling and unscheduling of async callbacks using | 17 // This class tests scheduling and unscheduling of async callbacks using |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 void OnCallCompleted(); | 30 void OnCallCompleted(); |
| 33 | 31 |
| 34 private: | 32 private: |
| 35 // base::Thread needs one of these. | 33 // base::Thread needs one of these. |
| 36 scoped_ptr<base::AtExitManager> at_exit_manager_; | 34 scoped_ptr<base::AtExitManager> at_exit_manager_; |
| 37 }; | 35 }; |
| 38 | 36 |
| 39 } // namespace NPAPIClient | 37 } // namespace NPAPIClient |
| 40 | 38 |
| 41 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ | 39 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H_ |
| OLD | NEW |