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

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: Nits Created 4 years, 7 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 b30b6b468fd12126069a456f7c407c90cf34d3ef..6b57b792a255638960c43bd6c7ca0a62628330f9 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -1,16 +1,17 @@
// 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/navigation_data.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) {
@@ -89,17 +90,22 @@ void ResourceDispatcherHostDelegate::OnRequestRedirected(
void ResourceDispatcherHostDelegate::RequestComplete(
net::URLRequest* url_request) {
}
bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
const net::URLRequest& url_request,
content::ResourceContext* resource_context) {
return false;
}
+NavigationData* ResourceDispatcherHostDelegate::GetNavigationData(
+ net::URLRequest* request) const {
+ return nullptr;
+}
+
ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
}
ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
}
} // namespace content
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | content/public/test/web_contents_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698