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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.cc

Issue 6575009: Move files out of chrome\browser\renderer_host\test alongside their source. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/test/test_render_view_host.h"
6
7 #include "chrome/browser/browser_url_handler.h" 5 #include "chrome/browser/browser_url_handler.h"
8 #include "chrome/browser/renderer_host/site_instance.h"
9 #include "chrome/browser/renderer_host/test/test_backing_store.h"
10 #include "chrome/browser/tab_contents/navigation_controller.h"
11 #include "chrome/browser/tab_contents/test_tab_contents.h"
12 #include "chrome/common/dom_storage_common.h" 6 #include "chrome/common/dom_storage_common.h"
13 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
14 #include "chrome/common/render_messages_params.h" 8 #include "chrome/common/render_messages_params.h"
15 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
10 #include "content/browser/renderer_host/test_backing_store.h"
11 #include "content/browser/renderer_host/test_render_view_host.h"
12 #include "content/browser/site_instance.h"
13 #include "content/browser/tab_contents/navigation_controller.h"
14 #include "content/browser/tab_contents/test_tab_contents.h"
16 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
17 #include "webkit/glue/webpreferences.h" 16 #include "webkit/glue/webpreferences.h"
18 #include "webkit/glue/password_form.h" 17 #include "webkit/glue/password_form.h"
19 18
20 using webkit_glue::PasswordForm; 19 using webkit_glue::PasswordForm;
21 20
22 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params, 21 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
23 int page_id, 22 int page_id,
24 const GURL& url, 23 const GURL& url,
25 PageTransition::Type transition) { 24 PageTransition::Type transition) {
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 contents_.reset(); 337 contents_.reset();
339 338
340 // Make sure that we flush any messages related to TabContents destruction 339 // Make sure that we flush any messages related to TabContents destruction
341 // before we destroy the profile. 340 // before we destroy the profile.
342 MessageLoop::current()->RunAllPending(); 341 MessageLoop::current()->RunAllPending();
343 342
344 // Release the profile on the UI thread. 343 // Release the profile on the UI thread.
345 message_loop_.DeleteSoon(FROM_HERE, profile_.release()); 344 message_loop_.DeleteSoon(FROM_HERE, profile_.release());
346 message_loop_.RunAllPending(); 345 message_loop_.RunAllPending();
347 } 346 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/browser/site_instance_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698