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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 160513002: Reports Prerender and Profile Total Bytes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing prerender UMA byte tracking. Created 6 years, 10 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_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ResourceResponse* response, 127 ResourceResponse* response,
128 IPC::Sender* sender); 128 IPC::Sender* sender);
129 129
130 // Informs the delegate that a request has been redirected. 130 // Informs the delegate that a request has been redirected.
131 virtual void OnRequestRedirected( 131 virtual void OnRequestRedirected(
132 const GURL& redirect_url, 132 const GURL& redirect_url,
133 net::URLRequest* request, 133 net::URLRequest* request,
134 ResourceContext* resource_context, 134 ResourceContext* resource_context,
135 ResourceResponse* response); 135 ResourceResponse* response);
136 136
137 // Notification that a request has completed.
138 virtual void RequestComplete(net::URLRequest* url_request);
139
137 protected: 140 protected:
138 ResourceDispatcherHostDelegate(); 141 ResourceDispatcherHostDelegate();
139 virtual ~ResourceDispatcherHostDelegate(); 142 virtual ~ResourceDispatcherHostDelegate();
140 }; 143 };
141 144
142 } // namespace content 145 } // namespace content
143 146
144 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 147 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698