| 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_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 ProfileType GetProfileType() const override; | 41 ProfileType GetProfileType() const override; |
| 42 Profile* GetOffTheRecordProfile() override; | 42 Profile* GetOffTheRecordProfile() override; |
| 43 void DestroyOffTheRecordProfile() override; | 43 void DestroyOffTheRecordProfile() override; |
| 44 bool HasOffTheRecordProfile() override; | 44 bool HasOffTheRecordProfile() override; |
| 45 Profile* GetOriginalProfile() override; | 45 Profile* GetOriginalProfile() override; |
| 46 bool IsSupervised() override; | 46 bool IsSupervised() override; |
| 47 bool IsChild() override; | 47 bool IsChild() override; |
| 48 bool IsLegacySupervised() override; | 48 bool IsLegacySupervised() override; |
| 49 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 49 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
| 50 PrefService* GetPrefs() override; | 50 PrefService* GetPrefs() override; |
| 51 const PrefService* GetPrefs() const override; |
| 51 PrefService* GetOffTheRecordPrefs() override; | 52 PrefService* GetOffTheRecordPrefs() override; |
| 52 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 53 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
| 53 net::URLRequestContextGetter* CreateRequestContext( | 54 net::URLRequestContextGetter* CreateRequestContext( |
| 54 content::ProtocolHandlerMap* protocol_handlers, | 55 content::ProtocolHandlerMap* protocol_handlers, |
| 55 content::URLRequestInterceptorScopedVector request_interceptors) override; | 56 content::URLRequestInterceptorScopedVector request_interceptors) override; |
| 56 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 57 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 57 const base::FilePath& partition_path, | 58 const base::FilePath& partition_path, |
| 58 bool in_memory, | 59 bool in_memory, |
| 59 content::ProtocolHandlerMap* protocol_handlers, | 60 content::ProtocolHandlerMap* protocol_handlers, |
| 60 content::URLRequestInterceptorScopedVector request_interceptors) override; | 61 content::URLRequestInterceptorScopedVector request_interceptors) override; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 Time start_time_; | 139 Time start_time_; |
| 139 | 140 |
| 140 base::FilePath last_selected_directory_; | 141 base::FilePath last_selected_directory_; |
| 141 | 142 |
| 142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 143 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 143 | 144 |
| 144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 145 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 148 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| OLD | NEW |