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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.h

Issue 10107009: Revert 132479 - Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA en… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/metrics/metrics_service.h ('k') | chrome/browser/net/chrome_network_delegate.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) 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 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 net::URLRequest* request, 76 net::URLRequest* request,
77 const net::AuthChallengeInfo& auth_info, 77 const net::AuthChallengeInfo& auth_info,
78 const AuthCallback& callback, 78 const AuthCallback& callback,
79 net::AuthCredentials* credentials) OVERRIDE; 79 net::AuthCredentials* credentials) OVERRIDE;
80 virtual bool CanGetCookies(const net::URLRequest* request, 80 virtual bool CanGetCookies(const net::URLRequest* request,
81 const net::CookieList& cookie_list) OVERRIDE; 81 const net::CookieList& cookie_list) OVERRIDE;
82 virtual bool CanSetCookie(const net::URLRequest* request, 82 virtual bool CanSetCookie(const net::URLRequest* request,
83 const std::string& cookie_line, 83 const std::string& cookie_line,
84 net::CookieOptions* options) OVERRIDE; 84 net::CookieOptions* options) OVERRIDE;
85 85
86 // Adds Chrome experiment and metrics state as custom headers to |headers|
87 // based on local state and |request|.
88 void AddChromeMetricsStateHeader(net::URLRequest* request,
89 net::HttpRequestHeaders* headers);
90
91 scoped_refptr<ExtensionEventRouterForwarder> event_router_; 86 scoped_refptr<ExtensionEventRouterForwarder> event_router_;
92 void* profile_; 87 void* profile_;
93 scoped_refptr<CookieSettings> cookie_settings_; 88 scoped_refptr<CookieSettings> cookie_settings_;
94 89
95 scoped_refptr<ExtensionInfoMap> extension_info_map_; 90 scoped_refptr<ExtensionInfoMap> extension_info_map_;
96 91
97 // Weak, owned by our owner. 92 // Weak, owned by our owner.
98 BooleanPrefMember* enable_referrers_; 93 BooleanPrefMember* enable_referrers_;
99 94
100 // Weak, owned by our owner. 95 // Weak, owned by our owner.
101 const policy::URLBlacklistManager* url_blacklist_manager_; 96 const policy::URLBlacklistManager* url_blacklist_manager_;
102 97
103 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); 98 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
104 }; 99 };
105 100
106 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 101 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_service.h ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698