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

Side by Side Diff: content/shell/renderer/test_runner/web_frame_test_proxy.h

Issue 317413002: Dump request content after RenderFrameImpl::willSendRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/shell/renderer/test_runner/TestInterfaces.h" 9 #include "content/shell/renderer/test_runner/TestInterfaces.h"
10 #include "content/shell/renderer/test_runner/WebTestDelegate.h" 10 #include "content/shell/renderer/test_runner/WebTestDelegate.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 196 }
197 197
198 virtual void didCreateDataSource(blink::WebLocalFrame* frame, 198 virtual void didCreateDataSource(blink::WebLocalFrame* frame,
199 blink::WebDataSource* ds) { 199 blink::WebDataSource* ds) {
200 Base::didCreateDataSource(frame, ds); 200 Base::didCreateDataSource(frame, ds);
201 } 201 }
202 202
203 virtual void willSendRequest(blink::WebLocalFrame* frame, unsigned identifier, 203 virtual void willSendRequest(blink::WebLocalFrame* frame, unsigned identifier,
204 blink::WebURLRequest& request, 204 blink::WebURLRequest& request,
205 const blink::WebURLResponse& redirectResponse) { 205 const blink::WebURLResponse& redirectResponse) {
206 Base::willSendRequest(frame, identifier, request, redirectResponse);
206 base_proxy_->WillSendRequest(frame, identifier, request, redirectResponse); 207 base_proxy_->WillSendRequest(frame, identifier, request, redirectResponse);
207 Base::willSendRequest(frame, identifier, request, redirectResponse);
208 } 208 }
209 209
210 virtual void didReceiveResponse(blink::WebLocalFrame* frame, 210 virtual void didReceiveResponse(blink::WebLocalFrame* frame,
211 unsigned identifier, 211 unsigned identifier,
212 const blink::WebURLResponse& response) { 212 const blink::WebURLResponse& response) {
213 base_proxy_->DidReceiveResponse(frame, identifier, response); 213 base_proxy_->DidReceiveResponse(frame, identifier, response);
214 Base::didReceiveResponse(frame, identifier, response); 214 Base::didReceiveResponse(frame, identifier, response);
215 } 215 }
216 216
217 virtual void didChangeResourcePriority( 217 virtual void didChangeResourcePriority(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 } 278 }
279 279
280 WebTestProxyBase* base_proxy_; 280 WebTestProxyBase* base_proxy_;
281 281
282 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); 282 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
283 }; 283 };
284 284
285 } // namespace content 285 } // namespace content
286 286
287 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ 287 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698