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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 2 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/stream_info.h" 7 #include "content/public/browser/stream_info.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const GURL& redirect_url, 83 const GURL& redirect_url,
84 net::URLRequest* request, 84 net::URLRequest* request,
85 ResourceContext* resource_context, 85 ResourceContext* resource_context,
86 ResourceResponse* response) { 86 ResourceResponse* response) {
87 } 87 }
88 88
89 void ResourceDispatcherHostDelegate::RequestComplete( 89 void ResourceDispatcherHostDelegate::RequestComplete(
90 net::URLRequest* url_request) { 90 net::URLRequest* url_request) {
91 } 91 }
92 92
93 bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode(
94 net::URLRequest* url_request,
95 content::ResourceContext* resource_context) {
96 return false;
97 }
98
93 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 99 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
94 } 100 }
95 101
96 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 102 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
97 } 103 }
98 104
99 } // namespace content 105 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698