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

Side by Side Diff: ios/chrome/browser/net/ios_chrome_network_delegate.h

Issue 1469053002: Upstream changes made downstream to ios_chrome_network_delegate.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool OnCanAccessFile(const net::URLRequest& request, 74 bool OnCanAccessFile(const net::URLRequest& request,
75 const base::FilePath& path) const override; 75 const base::FilePath& path) const override;
76 bool OnCanEnablePrivacyMode( 76 bool OnCanEnablePrivacyMode(
77 const GURL& url, 77 const GURL& url,
78 const GURL& first_party_for_cookies) const override; 78 const GURL& first_party_for_cookies) const override;
79 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( 79 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
80 const net::URLRequest& request, 80 const net::URLRequest& request,
81 const GURL& target_url, 81 const GURL& target_url,
82 const GURL& referrer_url) const override; 82 const GURL& referrer_url) const override;
83 83
84 void AccumulateContentLength(int64 received_payload_byte_count,
85 int64 original_payload_byte_count);
86
87 scoped_refptr<content_settings::CookieSettings> cookie_settings_; 84 scoped_refptr<content_settings::CookieSettings> cookie_settings_;
88 85
89 // Weak, owned by our owner. 86 // Weak, owned by our owner.
90 BooleanPrefMember* enable_do_not_track_; 87 BooleanPrefMember* enable_do_not_track_;
91 88
92 // Weak, owned by our owner. 89 // Weak, owned by our owner.
93 domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_; 90 domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_;
94 91
95 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate); 92 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate);
96 }; 93 };
97 94
98 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 95 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698