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

Side by Side 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 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 #include "content/public/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 #include "content/public/browser/navigation_data.h"
7 #include "content/public/browser/resource_request_info.h" 8 #include "content/public/browser/resource_request_info.h"
8 #include "content/public/browser/stream_info.h" 9 #include "content/public/browser/stream_info.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 13 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
13 const std::string& method, 14 const std::string& method,
14 const GURL& url, 15 const GURL& url,
15 ResourceType resource_type, 16 ResourceType resource_type,
16 ResourceContext* resource_context) { 17 ResourceContext* resource_context) {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void ResourceDispatcherHostDelegate::RequestComplete( 90 void ResourceDispatcherHostDelegate::RequestComplete(
90 net::URLRequest* url_request) { 91 net::URLRequest* url_request) {
91 } 92 }
92 93
93 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode( 94 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
94 const net::URLRequest& url_request, 95 const net::URLRequest& url_request,
95 content::ResourceContext* resource_context) { 96 content::ResourceContext* resource_context) {
96 return false; 97 return false;
97 } 98 }
98 99
100 NavigationData* ResourceDispatcherHostDelegate::GetNavigationData(
101 net::URLRequest* request) const {
102 return nullptr;
103 }
104
99 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 105 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
100 } 106 }
101 107
102 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 108 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
103 } 109 }
104 110
105 } // namespace content 111 } // namespace content
OLDNEW
« 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