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

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: Fixing nits Created 4 years, 9 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
tbansal1 2016/03/08 22:14:43 No need to delete this line break.
RyanSturm 2016/03/10 00:37:58 Done.
7 #include "content/public/browser/resource_request_info.h" 6 #include "content/public/browser/resource_request_info.h"
8 #include "content/public/browser/stream_info.h" 7 #include "content/public/browser/stream_info.h"
9 8
10 namespace content { 9 namespace content {
11 10
12 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 11 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
13 const std::string& method, 12 const std::string& method,
14 const GURL& url, 13 const GURL& url,
15 ResourceType resource_type, 14 ResourceType resource_type,
16 ResourceContext* resource_context) { 15 ResourceContext* resource_context) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void ResourceDispatcherHostDelegate::RequestComplete( 89 void ResourceDispatcherHostDelegate::RequestComplete(
91 net::URLRequest* url_request) { 90 net::URLRequest* url_request) {
92 } 91 }
93 92
94 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode( 93 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
95 const net::URLRequest& url_request, 94 const net::URLRequest& url_request,
96 content::ResourceContext* resource_context) { 95 content::ResourceContext* resource_context) {
97 return false; 96 return false;
98 } 97 }
99 98
99 bool ResourceDispatcherHostDelegate::UsedDataReductionProxy(
100 const net::HostPortPair& proxy_server,
101 ResourceContext* resource_context) {
102 return false;
103 }
104
100 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 105 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
101 } 106 }
102 107
103 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 108 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
104 } 109 }
105 110
106 } // namespace content 111 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698