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