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

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

Issue 1497743005: Allow huge data: URIs only via WebView.loadDataWithBaseUrl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the test Created 5 years 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 | « content/public/common/url_utils.cc ('k') | content/renderer/render_frame_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 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 bool* is_reload, 867 bool* is_reload,
868 blink::WebURLRequest::CachePolicy* cache_policy); 868 blink::WebURLRequest::CachePolicy* cache_policy);
869 869
870 // PlzNavigate 870 // PlzNavigate
871 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents 871 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents
872 // of the WebURLRequest. 872 // of the WebURLRequest.
873 void BeginNavigation(blink::WebURLRequest* request); 873 void BeginNavigation(blink::WebURLRequest* request);
874 874
875 // Loads a data url. 875 // Loads a data url.
876 void LoadDataURL(const CommonNavigationParams& params, 876 void LoadDataURL(const CommonNavigationParams& params,
877 const RequestNavigationParams& request_params,
877 blink::WebFrame* frame, 878 blink::WebFrame* frame,
878 blink::WebFrameLoadType load_type); 879 blink::WebFrameLoadType load_type);
879 880
880 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for 881 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for
881 // the failed request |request|. 882 // the failed request |request|.
882 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, 883 void SendFailedProvisionalLoad(const blink::WebURLRequest& request,
883 const blink::WebURLError& error, 884 const blink::WebURLError& error,
884 blink::WebLocalFrame* frame); 885 blink::WebLocalFrame* frame);
885 886
886 bool ShouldDisplayErrorPageForFailedLoad(int error_code, 887 bool ShouldDisplayErrorPageForFailedLoad(int error_code,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 #endif 1162 #endif
1162 1163
1163 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1164 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1164 1165
1165 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1166 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1166 }; 1167 };
1167 1168
1168 } // namespace content 1169 } // namespace content
1169 1170
1170 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1171 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/url_utils.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698