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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created a DRP PageLoadMetricsObserver Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/resource_dispatcher_host_delegate.h
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h
index ad6e2c5e981c26511c1c175be099af22054cfed0..0b25dece812de3fadd0f97fe8287097f06f1a54e 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.h
+++ b/content/public/browser/resource_dispatcher_host_delegate.h
@@ -17,20 +17,21 @@
class GURL;
template <class T> class ScopedVector;
namespace IPC {
class Sender;
}
namespace net {
class AuthChallengeInfo;
class URLRequest;
+class HostPortPair;
tbansal1 2016/03/07 18:05:05 Alphabetical order.
RyanSturm 2016/03/08 19:47:43 Done.
}
namespace content {
class AppCacheService;
class ResourceContext;
class ResourceDispatcherHostLoginDelegate;
class ResourceThrottle;
struct Referrer;
struct ResourceResponse;
@@ -123,18 +124,21 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
ResourceResponse* response);
// Notification that a request has completed.
virtual void RequestComplete(net::URLRequest* url_request);
// Asks the embedder if Lo-Fi mode should be enabled for the given request. It
// is only called for requests with an unspecified Lo-Fi value.
virtual bool ShouldEnableLoFiMode(const net::URLRequest& url_request,
content::ResourceContext* resource_context);
+ virtual bool UsedDataReductionProxy(const net::HostPortPair& proxy_server,
tbansal1 2016/03/07 18:05:05 Please add function comments.
RyanSturm 2016/03/08 19:47:43 Done.
+ ResourceContext* resource_context);
+
protected:
ResourceDispatcherHostDelegate();
virtual ~ResourceDispatcherHostDelegate();
};
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698