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

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

Issue 10535026: Move creation and ownership of DownloadManager from the embedder to content. This matches all the o… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros compile Created 8 years, 6 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) 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 86 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
87 87
88 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 88 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
89 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 89 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
90 virtual GURL GetHomePage() OVERRIDE; 90 virtual GURL GetHomePage() OVERRIDE;
91 91
92 // content::BrowserContext implementation: 92 // content::BrowserContext implementation:
93 virtual FilePath GetPath() OVERRIDE; 93 virtual FilePath GetPath() OVERRIDE;
94 virtual bool IsOffTheRecord() const OVERRIDE; 94 virtual bool IsOffTheRecord() const OVERRIDE;
95 virtual content::DownloadManager* GetDownloadManager() OVERRIDE; 95 virtual content::DownloadManagerDelegate*
96 GetDownloadManagerDelegate() OVERRIDE;
96 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 97 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
97 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 98 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
98 int renderer_child_id) OVERRIDE; 99 int renderer_child_id) OVERRIDE;
99 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; 100 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE;
100 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 101 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
101 virtual content::GeolocationPermissionContext* 102 virtual content::GeolocationPermissionContext*
102 GetGeolocationPermissionContext() OVERRIDE; 103 GetGeolocationPermissionContext() OVERRIDE;
103 virtual content::SpeechRecognitionPreferences* 104 virtual content::SpeechRecognitionPreferences*
104 GetSpeechRecognitionPreferences() OVERRIDE; 105 GetSpeechRecognitionPreferences() OVERRIDE;
105 virtual bool DidLastSessionExitCleanly() OVERRIDE; 106 virtual bool DidLastSessionExitCleanly() OVERRIDE;
(...skipping 28 matching lines...) Expand all
134 Time start_time_; 135 Time start_time_;
135 136
136 FilePath last_selected_directory_; 137 FilePath last_selected_directory_;
137 138
138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 139 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 141 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
141 }; 142 };
142 143
143 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 144 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698