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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 1987643002: Make default media device ID salts random by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for compile error Created 4 years, 6 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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 } 178 }
179 179
180 BooleanPrefMember* signin_allowed() const { 180 BooleanPrefMember* signin_allowed() const {
181 return &signin_allowed_; 181 return &signin_allowed_;
182 } 182 }
183 183
184 IntegerPrefMember* network_prediction_options() const { 184 IntegerPrefMember* network_prediction_options() const {
185 return &network_prediction_options_; 185 return &network_prediction_options_;
186 } 186 }
187 187
188 bool HasMediaDeviceIDSalt() const {
189 return media_device_id_salt_.get() != nullptr;
190 }
191
188 content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const; 192 content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const;
189 193
190 DevToolsNetworkControllerHandle* network_controller_handle() const { 194 DevToolsNetworkControllerHandle* network_controller_handle() const {
191 return &network_controller_handle_; 195 return &network_controller_handle_;
192 } 196 }
193 197
194 net::TransportSecurityState* transport_security_state() const { 198 net::TransportSecurityState* transport_security_state() const {
195 return transport_security_state_.get(); 199 return transport_security_state_.get();
196 } 200 }
197 201
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> 621 mutable std::unique_ptr<certificate_transparency::TreeStateTracker>
618 ct_tree_tracker_; 622 ct_tree_tracker_;
619 mutable base::Closure ct_tree_tracker_unregistration_; 623 mutable base::Closure ct_tree_tracker_unregistration_;
620 624
621 const Profile::ProfileType profile_type_; 625 const Profile::ProfileType profile_type_;
622 626
623 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 627 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
624 }; 628 };
625 629
626 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 630 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698