| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <limits> | 5 #include <limits> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 11 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 13 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 14 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
| 14 #include "content/public/browser/browser_context.h" | 15 #include "content/public/browser/browser_context.h" |
| 15 #include "content/public/browser/render_frame_host.h" | 16 #include "content/public/browser/render_frame_host.h" |
| 16 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
| 17 #include "content/public/browser/render_view_host.h" | 18 #include "content/public/browser/render_view_host.h" |
| 18 #include "content/public/browser/web_contents.h" | 19 #include "content/public/browser/web_contents.h" |
| 19 #include "content/public/browser/web_ui_controller.h" | 20 #include "content/public/browser/web_ui_controller.h" |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 GURL("chrome://mojo-web-ui/web_ui_mojo_shell_test.html")); | 253 GURL("chrome://mojo-web-ui/web_ui_mojo_shell_test.html")); |
| 253 | 254 |
| 254 DOMMessageQueue message_queue; | 255 DOMMessageQueue message_queue; |
| 255 std::string message; | 256 std::string message; |
| 256 ASSERT_TRUE(message_queue.WaitForMessage(&message)); | 257 ASSERT_TRUE(message_queue.WaitForMessage(&message)); |
| 257 EXPECT_EQ("true", message); | 258 EXPECT_EQ("true", message); |
| 258 } | 259 } |
| 259 | 260 |
| 260 } // namespace | 261 } // namespace |
| 261 } // namespace content | 262 } // namespace content |
| OLD | NEW |