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_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ | 5 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ |
6 #define IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ | 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 PrefProxyConfigTracker* GetProxyConfigTracker() override; | 38 PrefProxyConfigTracker* GetProxyConfigTracker() override; |
39 net::SSLConfigService* GetSSLConfigService() override; | 39 net::SSLConfigService* GetSSLConfigService() override; |
40 PrefService* GetPrefs() override; | 40 PrefService* GetPrefs() override; |
41 PrefService* GetOffTheRecordPrefs() override; | 41 PrefService* GetOffTheRecordPrefs() override; |
42 ChromeBrowserStateIOData* GetIOData() override; | 42 ChromeBrowserStateIOData* GetIOData() override; |
43 void ClearNetworkingHistorySince(base::Time time, | 43 void ClearNetworkingHistorySince(base::Time time, |
44 const base::Closure& completion) override; | 44 const base::Closure& completion) override; |
45 net::URLRequestContextGetter* CreateRequestContext( | 45 net::URLRequestContextGetter* CreateRequestContext( |
46 ProtocolHandlerMap* protocol_handlers, | 46 ProtocolHandlerMap* protocol_handlers, |
47 URLRequestInterceptorScopedVector request_interceptors) override; | 47 URLRequestInterceptorScopedVector request_interceptors) override; |
48 net::URLRequestContextGetter* CreateIsolatedRequestContext( | |
49 const base::FilePath& partition_path) override; | |
50 | 48 |
51 // BrowserState: | 49 // BrowserState: |
52 bool IsOffTheRecord() const override; | 50 bool IsOffTheRecord() const override; |
53 base::FilePath GetStatePath() const override; | 51 base::FilePath GetStatePath() const override; |
54 | 52 |
55 private: | 53 private: |
56 friend class ChromeBrowserStateManagerImpl; | 54 friend class ChromeBrowserStateManagerImpl; |
57 | 55 |
58 explicit ChromeBrowserStateImpl(const base::FilePath& path); | 56 explicit ChromeBrowserStateImpl(const base::FilePath& path); |
59 | 57 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // and you can read the raw headers here: | 95 // and you can read the raw headers here: |
98 // | 96 // |
99 // components/keyed_service/ios/browser_state_dependency_manager.* | 97 // components/keyed_service/ios/browser_state_dependency_manager.* |
100 // components/keyed_service/core/keyed_service.h | 98 // components/keyed_service/core/keyed_service.h |
101 // components/keyed_service/ios/browser_state_keyed_service_factory.* | 99 // components/keyed_service/ios/browser_state_keyed_service_factory.* |
102 | 100 |
103 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserStateImpl); | 101 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserStateImpl); |
104 }; | 102 }; |
105 | 103 |
106 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ | 104 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IMPL_ |
OLD | NEW |