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

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

Issue 6621006: Take out the is_content_filtered bool that gets passed around betwen renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | content/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/browser_url_handler.h" 5 #include "chrome/browser/browser_url_handler.h"
6 #include "chrome/common/dom_storage_common.h" 6 #include "chrome/common/dom_storage_common.h"
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/common/render_messages_params.h" 8 #include "chrome/common/render_messages_params.h"
9 #include "chrome/test/testing_profile.h" 9 #include "chrome/test/testing_profile.h"
10 #include "content/browser/renderer_host/test_backing_store.h" 10 #include "content/browser/renderer_host/test_backing_store.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 params.transition = transition; 90 params.transition = transition;
91 params.redirects = std::vector<GURL>(); 91 params.redirects = std::vector<GURL>();
92 params.should_update_history = true; 92 params.should_update_history = true;
93 params.searchable_form_url = GURL(); 93 params.searchable_form_url = GURL();
94 params.searchable_form_encoding = std::string(); 94 params.searchable_form_encoding = std::string();
95 params.password_form = PasswordForm(); 95 params.password_form = PasswordForm();
96 params.security_info = std::string(); 96 params.security_info = std::string();
97 params.gesture = NavigationGestureUser; 97 params.gesture = NavigationGestureUser;
98 params.contents_mime_type = std::string(); 98 params.contents_mime_type = std::string();
99 params.is_post = false; 99 params.is_post = false;
100 params.is_content_filtered = false;
101 params.was_within_same_page = false; 100 params.was_within_same_page = false;
102 params.http_status_code = 0; 101 params.http_status_code = 0;
103 params.socket_address.set_host("2001:db8::1"); 102 params.socket_address.set_host("2001:db8::1");
104 params.socket_address.set_port(80); 103 params.socket_address.set_port(80);
105 params.was_fetched_via_proxy = simulate_fetch_via_proxy_; 104 params.was_fetched_via_proxy = simulate_fetch_via_proxy_;
106 params.content_state = webkit_glue::CreateHistoryStateForURL(GURL(url)); 105 params.content_state = webkit_glue::CreateHistoryStateForURL(GURL(url));
107 106
108 ViewHostMsg_FrameNavigate msg(1, params); 107 ViewHostMsg_FrameNavigate msg(1, params);
109 OnMsgNavigate(msg); 108 OnMsgNavigate(msg);
110 } 109 }
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 contents_.reset(); 345 contents_.reset();
347 346
348 // Make sure that we flush any messages related to TabContents destruction 347 // Make sure that we flush any messages related to TabContents destruction
349 // before we destroy the profile. 348 // before we destroy the profile.
350 MessageLoop::current()->RunAllPending(); 349 MessageLoop::current()->RunAllPending();
351 350
352 // Release the profile on the UI thread. 351 // Release the profile on the UI thread.
353 message_loop_.DeleteSoon(FROM_HERE, profile_.release()); 352 message_loop_.DeleteSoon(FROM_HERE, profile_.release());
354 message_loop_.RunAllPending(); 353 message_loop_.RunAllPending();
355 } 354 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | content/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698