Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: content/public/test/content_browser_test.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/public/test/content_browser_test.h" 5 #include "content/public/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/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 !i.IsAtEnd(); i.Advance()) { 150 !i.IsAtEnd(); i.Advance()) {
151 i.GetCurrentValue()->FastShutdownIfPossible(); 151 i.GetCurrentValue()->FastShutdownIfPossible();
152 } 152 }
153 153
154 Shell::CloseAllWindows(); 154 Shell::CloseAllWindows();
155 } 155 }
156 156
157 Shell* ContentBrowserTest::CreateBrowser() { 157 Shell* ContentBrowserTest::CreateBrowser() {
158 return Shell::CreateNewWindow( 158 return Shell::CreateNewWindow(
159 ShellContentBrowserClient::Get()->browser_context(), 159 ShellContentBrowserClient::Get()->browser_context(),
160 GURL(kAboutBlankURL), 160 GURL(url::kAboutBlankURL),
161 NULL, 161 NULL,
162 MSG_ROUTING_NONE, 162 MSG_ROUTING_NONE,
163 gfx::Size()); 163 gfx::Size());
164 } 164 }
165 165
166 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() { 166 Shell* ContentBrowserTest::CreateOffTheRecordBrowser() {
167 return Shell::CreateNewWindow( 167 return Shell::CreateNewWindow(
168 ShellContentBrowserClient::Get()->off_the_record_browser_context(), 168 ShellContentBrowserClient::Get()->off_the_record_browser_context(),
169 GURL(kAboutBlankURL), 169 GURL(url::kAboutBlankURL),
170 NULL, 170 NULL,
171 MSG_ROUTING_NONE, 171 MSG_ROUTING_NONE,
172 gfx::Size()); 172 gfx::Size());
173 } 173 }
174 174
175 } // namespace content 175 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698