| 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" |
| 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" | 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/ui/browser_list.h" | 13 #include "chrome/browser/ui/browser_list.h" |
| 14 #include "components/domain_reliability/clear_mode.h" |
| 14 #include "content/public/browser/content_browser_client.h" | 15 #include "content/public/browser/content_browser_client.h" |
| 15 #include "content/public/browser/host_zoom_map.h" | 16 #include "content/public/browser/host_zoom_map.h" |
| 16 | 17 |
| 17 using base::Time; | 18 using base::Time; |
| 18 using base::TimeDelta; | 19 using base::TimeDelta; |
| 19 | 20 |
| 20 class PrefServiceSyncable; | 21 class PrefServiceSyncable; |
| 21 | 22 |
| 22 //////////////////////////////////////////////////////////////////////////////// | 23 //////////////////////////////////////////////////////////////////////////////// |
| 23 // | 24 // |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void OnLogin() OVERRIDE; | 76 virtual void OnLogin() OVERRIDE; |
| 76 virtual void InitChromeOSPreferences() OVERRIDE; | 77 virtual void InitChromeOSPreferences() OVERRIDE; |
| 77 #endif // defined(OS_CHROMEOS) | 78 #endif // defined(OS_CHROMEOS) |
| 78 | 79 |
| 79 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 80 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 80 | 81 |
| 81 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 82 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 82 virtual void ClearNetworkingHistorySince( | 83 virtual void ClearNetworkingHistorySince( |
| 83 base::Time time, | 84 base::Time time, |
| 84 const base::Closure& completion) OVERRIDE; | 85 const base::Closure& completion) OVERRIDE; |
| 86 virtual void ClearDomainReliabilityMonitor( |
| 87 domain_reliability::DomainReliabilityClearMode mode, |
| 88 const base::Closure& completion) OVERRIDE; |
| 85 virtual GURL GetHomePage() OVERRIDE; | 89 virtual GURL GetHomePage() OVERRIDE; |
| 86 | 90 |
| 87 // content::BrowserContext implementation: | 91 // content::BrowserContext implementation: |
| 88 virtual base::FilePath GetPath() const OVERRIDE; | 92 virtual base::FilePath GetPath() const OVERRIDE; |
| 89 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 93 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 90 virtual bool IsOffTheRecord() const OVERRIDE; | 94 virtual bool IsOffTheRecord() const OVERRIDE; |
| 91 virtual content::DownloadManagerDelegate* | 95 virtual content::DownloadManagerDelegate* |
| 92 GetDownloadManagerDelegate() OVERRIDE; | 96 GetDownloadManagerDelegate() OVERRIDE; |
| 93 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 97 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 94 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 98 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 base::FilePath last_selected_directory_; | 161 base::FilePath last_selected_directory_; |
| 158 | 162 |
| 159 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 163 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 160 | 164 |
| 161 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 165 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
| 162 | 166 |
| 163 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 167 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 164 }; | 168 }; |
| 165 | 169 |
| 166 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 170 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| OLD | NEW |