Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.h

Issue 7859001: Added ability to set ChromeDownloadManagerDelegate for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to TOT. Again. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698