OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 131 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
132 virtual prerender::PrerenderManager* GetPrerenderManager() OVERRIDE; | 132 virtual prerender::PrerenderManager* GetPrerenderManager() OVERRIDE; |
133 | 133 |
134 // NotificationObserver implementation. | 134 // NotificationObserver implementation. |
135 virtual void Observe(int type, | 135 virtual void Observe(int type, |
136 const NotificationSource& source, | 136 const NotificationSource& source, |
137 const NotificationDetails& details) OVERRIDE; | 137 const NotificationDetails& details) OVERRIDE; |
138 | 138 |
139 private: | 139 private: |
| 140 virtual void SetDownloadManagerDelegate( |
| 141 ChromeDownloadManagerDelegate* delegate) OVERRIDE; |
| 142 |
140 void CreateQuotaManagerAndClients(); | 143 void CreateQuotaManagerAndClients(); |
141 | 144 |
142 NotificationRegistrar registrar_; | 145 NotificationRegistrar registrar_; |
143 | 146 |
144 // The real underlying profile. | 147 // The real underlying profile. |
145 Profile* profile_; | 148 Profile* profile_; |
146 | 149 |
147 // Weak pointer owned by |profile_|. | 150 // Weak pointer owned by |profile_|. |
148 PrefService* prefs_; | 151 PrefService* prefs_; |
149 | 152 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 205 |
203 scoped_refptr<quota::QuotaManager> quota_manager_; | 206 scoped_refptr<quota::QuotaManager> quota_manager_; |
204 | 207 |
205 // Used read-only. | 208 // Used read-only. |
206 scoped_refptr<TransportSecurityPersister> transport_security_loader_; | 209 scoped_refptr<TransportSecurityPersister> transport_security_loader_; |
207 | 210 |
208 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 211 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
209 }; | 212 }; |
210 | 213 |
211 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 214 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |