OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |