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

Side by Side Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2903263002: Fix LoadDataWithBaseUrlTest.testloadDataWithBaseUrlCallsOnPageStarted after r474498. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 void set_response_headers_for_testing( 360 void set_response_headers_for_testing(
361 scoped_refptr<net::HttpResponseHeaders> response_headers) { 361 scoped_refptr<net::HttpResponseHeaders> response_headers) {
362 response_headers_ = response_headers; 362 response_headers_ = response_headers;
363 } 363 }
364 364
365 void set_complete_callback_for_testing( 365 void set_complete_callback_for_testing(
366 const ThrottleChecksFinishedCallback& callback) { 366 const ThrottleChecksFinishedCallback& callback) {
367 complete_callback_for_testing_ = callback; 367 complete_callback_for_testing_ = callback;
368 } 368 }
369 369
370 void set_base_url_for_data_url(const GURL& url) {
371 base_url_for_data_url_ = url;
372 }
373
374 CSPDisposition should_check_main_world_csp() const { 370 CSPDisposition should_check_main_world_csp() const {
375 return should_check_main_world_csp_; 371 return should_check_main_world_csp_;
376 } 372 }
377 373
378 const SourceLocation& source_location() const { return source_location_; } 374 const SourceLocation& source_location() const { return source_location_; }
379 void set_source_location(const SourceLocation& source_location) { 375 void set_source_location(const SourceLocation& source_location) {
380 source_location_ = source_location; 376 source_location_ = source_location;
381 } 377 }
382 378
383 // PlzNavigate 379 // PlzNavigate
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 int expected_render_process_host_id_; 578 int expected_render_process_host_id_;
583 579
584 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 580 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
585 581
586 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 582 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
587 }; 583 };
588 584
589 } // namespace content 585 } // namespace content
590 586
591 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 587 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698