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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/message_loop/message_loop.h" |
14 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
15 #include "base/task_runner.h" | 16 #include "base/task_runner.h" |
16 #include "base/threading/simple_thread.h" | 17 #include "base/threading/simple_thread.h" |
17 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
18 #include "ppapi/c/pp_instance.h" | 19 #include "ppapi/c/pp_instance.h" |
19 #include "ppapi/proxy/host_dispatcher.h" | 20 #include "ppapi/proxy/host_dispatcher.h" |
20 #include "ppapi/proxy/plugin_dispatcher.h" | 21 #include "ppapi/proxy/plugin_dispatcher.h" |
21 #include "ppapi/proxy/plugin_globals.h" | 22 #include "ppapi/proxy/plugin_globals.h" |
22 #include "ppapi/proxy/plugin_proxy_delegate.h" | 23 #include "ppapi/proxy/plugin_proxy_delegate.h" |
23 #include "ppapi/proxy/plugin_resource_tracker.h" | 24 #include "ppapi/proxy/plugin_resource_tracker.h" |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 // EXPECT_VAR_IS_STRING("foo", my_var); | 376 // EXPECT_VAR_IS_STRING("foo", my_var); |
376 #define EXPECT_VAR_IS_STRING(str, var) { \ | 377 #define EXPECT_VAR_IS_STRING(str, var) { \ |
377 StringVar* sv = StringVar::FromPPVar(var); \ | 378 StringVar* sv = StringVar::FromPPVar(var); \ |
378 EXPECT_TRUE(sv); \ | 379 EXPECT_TRUE(sv); \ |
379 if (sv) \ | 380 if (sv) \ |
380 EXPECT_EQ(str, sv->value()); \ | 381 EXPECT_EQ(str, sv->value()); \ |
381 } | 382 } |
382 | 383 |
383 } // namespace proxy | 384 } // namespace proxy |
384 } // namespace ppapi | 385 } // namespace ppapi |
OLD | NEW |