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

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

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.cc
diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc
index 3fb54d3d630c78122168737168a34aee8d8411e6..a116026b7e4521a8373d6f936c010cc4ffc09211 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -1,16 +1,15 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/resource_dispatcher_host_delegate.h"
-
#include "content/public/browser/resource_request_info.h"
#include "content/public/browser/stream_info.h"
namespace content {
bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
const std::string& method,
const GURL& url,
ResourceType resource_type,
ResourceContext* resource_context) {
@@ -90,17 +89,23 @@ void ResourceDispatcherHostDelegate::OnRequestRedirected(
void ResourceDispatcherHostDelegate::RequestComplete(
net::URLRequest* url_request) {
}
bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
const net::URLRequest& url_request,
content::ResourceContext* resource_context) {
return false;
}
+bool ResourceDispatcherHostDelegate::UsedDataReductionProxy(
+ const net::HostPortPair& proxy_server,
+ ResourceContext* resource_context) {
+ return false;
+}
+
ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
}
ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698