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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 void BeginNavigation(blink::WebURLRequest* request); 732 void BeginNavigation(blink::WebURLRequest* request);
733 733
734 // Loads a data url. 734 // Loads a data url.
735 void LoadDataURL(const CommonNavigationParams& params, 735 void LoadDataURL(const CommonNavigationParams& params,
736 blink::WebFrame* frame); 736 blink::WebFrame* frame);
737 737
738 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for 738 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for
739 // the failed request |request|. 739 // the failed request |request|.
740 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, 740 void SendFailedProvisionalLoad(const blink::WebURLRequest& request,
741 const blink::WebURLError& error, 741 const blink::WebURLError& error,
742 const RequestNavigationParams& request_params,
742 blink::WebLocalFrame* frame); 743 blink::WebLocalFrame* frame);
743 744
744 bool ShouldDisplayErrorPageForFailedLoad(int error_code, 745 bool ShouldDisplayErrorPageForFailedLoad(int error_code,
745 const GURL& unreachable_url); 746 const GURL& unreachable_url);
746 747
747 // Returns the URL being loaded by the |frame_|'s request. 748 // Returns the URL being loaded by the |frame_|'s request.
748 GURL GetLoadingUrl() const; 749 GURL GetLoadingUrl() const;
749 750
750 // If we initiated a navigation, this function will populate |document_state| 751 // If we initiated a navigation, this function will populate |document_state|
751 // with the navigation information saved in OnNavigate(). 752 // with the navigation information saved in OnNavigate().
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 #endif 933 #endif
933 934
934 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 935 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
935 936
936 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 937 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
937 }; 938 };
938 939
939 } // namespace content 940 } // namespace content
940 941
941 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 942 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698