| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 | 432 |
| 433 private: | 433 private: |
| 434 class ResourceContext : public content::ResourceContext { | 434 class ResourceContext : public content::ResourceContext { |
| 435 public: | 435 public: |
| 436 explicit ResourceContext(ProfileIOData* io_data); | 436 explicit ResourceContext(ProfileIOData* io_data); |
| 437 ~ResourceContext() override; | 437 ~ResourceContext() override; |
| 438 | 438 |
| 439 // ResourceContext implementation: | 439 // ResourceContext implementation: |
| 440 net::HostResolver* GetHostResolver() override; | 440 net::HostResolver* GetHostResolver() override; |
| 441 net::URLRequestContext* GetRequestContext() override; | 441 net::URLRequestContext* GetRequestContext() override; |
| 442 void CreateKeygenHandler( | |
| 443 uint32_t key_size_in_bits, | |
| 444 const std::string& challenge_string, | |
| 445 const GURL& url, | |
| 446 const base::Callback<void(std::unique_ptr<net::KeygenHandler>)>& | |
| 447 callback) override; | |
| 448 std::string GetMediaDeviceIDSalt() override; | 442 std::string GetMediaDeviceIDSalt() override; |
| 449 | 443 |
| 450 private: | 444 private: |
| 451 friend class ProfileIOData; | 445 friend class ProfileIOData; |
| 452 | 446 |
| 453 ProfileIOData* const io_data_; | 447 ProfileIOData* const io_data_; |
| 454 | 448 |
| 455 net::HostResolver* host_resolver_; | 449 net::HostResolver* host_resolver_; |
| 456 net::URLRequestContext* request_context_; | 450 net::URLRequestContext* request_context_; |
| 457 }; | 451 }; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> | 625 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> |
| 632 ct_tree_tracker_; | 626 ct_tree_tracker_; |
| 633 mutable base::Closure ct_tree_tracker_unregistration_; | 627 mutable base::Closure ct_tree_tracker_unregistration_; |
| 634 | 628 |
| 635 const Profile::ProfileType profile_type_; | 629 const Profile::ProfileType profile_type_; |
| 636 | 630 |
| 637 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 631 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 638 }; | 632 }; |
| 639 | 633 |
| 640 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 634 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |