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

Side by Side Diff: content/browser/renderer_host/dummy_resource_handler.cc

Issue 9580002: Add ResourceRequestInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/renderer_host/dummy_resource_handler.h"
6
7 namespace content {
8
9 DummyResourceHandler::DummyResourceHandler() {}
10
11 bool DummyResourceHandler::OnUploadProgress(int request_id,
12 uint64 position,
13 uint64 size) {
14 return true;
15 }
16
17 bool DummyResourceHandler::OnRequestRedirected(int request_id,
18 const GURL& url,
19 ResourceResponse* response,
20 bool* defer) {
21 return true;
22 }
23
24 bool DummyResourceHandler::OnResponseStarted(int request_id,
25 ResourceResponse* response) {
26 return true;
27 }
28
29 bool DummyResourceHandler::OnWillStart(int request_id,
30 const GURL& url,
31 bool* defer) {
32 return true;
33 }
34
35 bool DummyResourceHandler::OnWillRead(int request_id,
36 net::IOBuffer** buf,
37 int* buf_size,
38 int min_size) {
39 return true;
40 }
41
42 bool DummyResourceHandler::OnReadCompleted(int request_id, int* bytes_read) {
43 return true;
44 }
45
46 bool DummyResourceHandler::OnResponseCompleted(
47 int request_id,
48 const net::URLRequestStatus& status,
49 const std::string& info) {
50 return true;
51 }
52
53 void DummyResourceHandler::OnRequestClosed() {}
54
55 } // namespace content
56
OLDNEW
« no previous file with comments | « content/browser/renderer_host/dummy_resource_handler.h ('k') | content/browser/renderer_host/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698