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

Side by Side Diff: webkit/glue/resource_loader_bridge.cc

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 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
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "webkit/glue/resource_loader_bridge.h" 5 #include "webkit/glue/resource_loader_bridge.h"
6 6
7 #include "webkit/appcache/appcache_interfaces.h" 7 #include "webkit/appcache/appcache_interfaces.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
(...skipping 24 matching lines...) Expand all
35 35
36 ResourceResponseInfo::ResourceResponseInfo() 36 ResourceResponseInfo::ResourceResponseInfo()
37 : content_length(-1), 37 : content_length(-1),
38 encoded_data_length(-1), 38 encoded_data_length(-1),
39 appcache_id(appcache::kNoCacheId), 39 appcache_id(appcache::kNoCacheId),
40 connection_id(0), 40 connection_id(0),
41 connection_reused(false), 41 connection_reused(false),
42 was_fetched_via_spdy(false), 42 was_fetched_via_spdy(false),
43 was_npn_negotiated(false), 43 was_npn_negotiated(false),
44 was_alternate_protocol_available(false), 44 was_alternate_protocol_available(false),
45 was_fetched_via_proxy(false) { 45 was_fetched_via_proxy(false),
46 needs_encoding_detection(false) {
46 } 47 }
47 48
48 ResourceResponseInfo::~ResourceResponseInfo() { 49 ResourceResponseInfo::~ResourceResponseInfo() {
49 } 50 }
50 51
51 ResourceLoaderBridge::RequestInfo::RequestInfo() 52 ResourceLoaderBridge::RequestInfo::RequestInfo()
52 : referrer_policy(WebKit::WebReferrerPolicyDefault), 53 : referrer_policy(WebKit::WebReferrerPolicyDefault),
53 load_flags(0), 54 load_flags(0),
54 requestor_pid(0), 55 requestor_pid(0),
55 request_type(ResourceType::MAIN_FRAME), 56 request_type(ResourceType::MAIN_FRAME),
(...skipping 14 matching lines...) Expand all
70 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 71 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
71 } 72 }
72 73
73 ResourceLoaderBridge::ResourceLoaderBridge() { 74 ResourceLoaderBridge::ResourceLoaderBridge() {
74 } 75 }
75 76
76 ResourceLoaderBridge::~ResourceLoaderBridge() { 77 ResourceLoaderBridge::~ResourceLoaderBridge() {
77 } 78 }
78 79
79 } // namespace webkit_glue 80 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698