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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2151743002: Pass validated URL to WebContentsObserver::DidFailProvidsionalLoad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // NavigatorDelegate --------------------------------------------------------- 542 // NavigatorDelegate ---------------------------------------------------------
543 543
544 void DidStartNavigation(NavigationHandle* navigation_handle) override; 544 void DidStartNavigation(NavigationHandle* navigation_handle) override;
545 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 545 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
546 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 546 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
547 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 547 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
548 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 548 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
549 const GURL& validated_url, 549 const GURL& validated_url,
550 bool is_error_page, 550 bool is_error_page,
551 bool is_iframe_srcdoc) override; 551 bool is_iframe_srcdoc) override;
552 void DidFailProvisionalLoadWithError( 552 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host,
553 RenderFrameHostImpl* render_frame_host, 553 const GURL& validated_url,
554 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 554 int error_code,
555 override; 555 const base::string16& error_description,
556 bool was_ignored_by_handler) override;
556 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 557 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
557 const GURL& url, 558 const GURL& url,
558 int error_code, 559 int error_code,
559 const base::string16& error_description, 560 const base::string16& error_description,
560 bool was_ignored_by_handler) override; 561 bool was_ignored_by_handler) override;
561 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, 562 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host,
562 const GURL& url, 563 const GURL& url,
563 ui::PageTransition transition_type) override; 564 ui::PageTransition transition_type) override;
564 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; 565 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override;
565 void DidNavigateMainFramePostCommit( 566 void DidNavigateMainFramePostCommit(
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 // Adds/removes a callback called on creation of each new WebContents. 1421 // Adds/removes a callback called on creation of each new WebContents.
1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1423 1424
1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1425 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1425 }; 1426 };
1426 1427
1427 } // namespace content 1428 } // namespace content
1428 1429
1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698