| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 IOS_WEB_PUBLIC_BROWSER_STATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_BROWSER_STATE_H_ |
| 6 #define IOS_WEB_PUBLIC_BROWSER_STATE_H_ | 6 #define IOS_WEB_PUBLIC_BROWSER_STATE_H_ |
| 7 | 7 |
| 8 #include "base/supports_user_data.h" | 8 #include "base/supports_user_data.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class FilePath; | 11 class FilePath; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 class URLRequestContextGetter; | 15 class URLRequestContextGetter; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace web { | 18 namespace web { |
| 19 class ActiveStateManager; | 19 class ActiveStateManager; |
| 20 class BrowsingDataPartition; | |
| 21 class CertificatePolicyCache; | 20 class CertificatePolicyCache; |
| 22 class URLDataManagerIOS; | 21 class URLDataManagerIOS; |
| 23 class URLDataManagerIOSBackend; | 22 class URLDataManagerIOSBackend; |
| 24 class URLRequestChromeJob; | 23 class URLRequestChromeJob; |
| 25 | 24 |
| 26 // This class holds the context needed for a browsing session. | 25 // This class holds the context needed for a browsing session. |
| 27 // It lives on the UI thread. All these methods must only be called on the UI | 26 // It lives on the UI thread. All these methods must only be called on the UI |
| 28 // thread. | 27 // thread. |
| 29 class BrowserState : public base::SupportsUserData { | 28 class BrowserState : public base::SupportsUserData { |
| 30 public: | 29 public: |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 75 |
| 77 // The URLDataManagerIOSBackend instance associated with this BrowserState. | 76 // The URLDataManagerIOSBackend instance associated with this BrowserState. |
| 78 // Created and destroyed on the IO thread, and should be accessed only from | 77 // Created and destroyed on the IO thread, and should be accessed only from |
| 79 // the IO thread. | 78 // the IO thread. |
| 80 URLDataManagerIOSBackend* url_data_manager_ios_backend_; | 79 URLDataManagerIOSBackend* url_data_manager_ios_backend_; |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 } // namespace web | 82 } // namespace web |
| 84 | 83 |
| 85 #endif // IOS_WEB_PUBLIC_BROWSER_STATE_H_ | 84 #endif // IOS_WEB_PUBLIC_BROWSER_STATE_H_ |
| OLD | NEW |