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 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/process.h" | 16 #include "base/process.h" |
17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
20 #include "googleurl/src/gurl.h" | |
21 #include "third_party/WebKit/public/web/WebInputEvent.h" | 20 #include "third_party/WebKit/public/web/WebInputEvent.h" |
22 #include "ui/base/keycodes/keyboard_codes.h" | 21 #include "ui/base/keycodes/keyboard_codes.h" |
| 22 #include "url/gurl.h" |
23 | 23 |
24 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
25 #include "base/win/scoped_handle.h" | 25 #include "base/win/scoped_handle.h" |
26 #endif | 26 #endif |
27 | 27 |
28 class CommandLine; | 28 class CommandLine; |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class RunLoop; | 31 class RunLoop; |
32 } | 32 } |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 std::queue<std::string> message_queue_; | 220 std::queue<std::string> message_queue_; |
221 bool waiting_for_message_; | 221 bool waiting_for_message_; |
222 scoped_refptr<MessageLoopRunner> message_loop_runner_; | 222 scoped_refptr<MessageLoopRunner> message_loop_runner_; |
223 | 223 |
224 DISALLOW_COPY_AND_ASSIGN(DOMMessageQueue); | 224 DISALLOW_COPY_AND_ASSIGN(DOMMessageQueue); |
225 }; | 225 }; |
226 | 226 |
227 } // namespace content | 227 } // namespace content |
228 | 228 |
229 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ | 229 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_UTILS_H_ |
OLD | NEW |