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 "content/test/content_browser_test.h" | 5 #include "content/test/content_browser_test.h" |
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/logging.h" | 9 #include "base/logging.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "content/public/browser/render_process_host.h" | 12 #include "content/public/browser/render_process_host.h" |
13 #include "content/public/common/content_paths.h" | 13 #include "content/public/common/content_paths.h" |
14 #include "content/public/common/content_switches.h" | 14 #include "content/public/common/content_switches.h" |
15 #include "content/public/common/url_constants.h" | 15 #include "content/public/common/url_constants.h" |
16 #include "content/shell/app/shell_main_delegate.h" | 16 #include "content/shell/app/shell_main_delegate.h" |
17 #include "content/shell/common/shell_switches.h" | 17 #include "content/shell/common/shell_switches.h" |
18 #include "content/shell/renderer/shell_content_renderer_client.h" | 18 #include "content/shell/renderer/shell_content_renderer_client.h" |
19 #include "content/shell/shell.h" | 19 #include "content/shell/shell.h" |
20 #include "content/shell/shell_browser_context.h" | 20 #include "content/shell/shell_browser_context.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() { | 148 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() { |
149 return Shell::CreateNewWindow( | 149 return Shell::CreateNewWindow( |
150 ShellContentBrowserClient::Get()->off_the_record_browser_context(), | 150 ShellContentBrowserClient::Get()->off_the_record_browser_context(), |
151 GURL(kAboutBlankURL), | 151 GURL(kAboutBlankURL), |
152 NULL, | 152 NULL, |
153 MSG_ROUTING_NONE, | 153 MSG_ROUTING_NONE, |
154 gfx::Size()); | 154 gfx::Size()); |
155 } | 155 } |
156 | 156 |
157 } // namespace content | 157 } // namespace content |
OLD | NEW |