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

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

Issue 187223003: Allow content layer to pass ProtocolInterceptors when we create URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual Profile* GetOriginalProfile() OVERRIDE; 42 virtual Profile* GetOriginalProfile() OVERRIDE;
43 virtual bool IsManaged() OVERRIDE; 43 virtual bool IsManaged() OVERRIDE;
44 virtual ExtensionService* GetExtensionService() OVERRIDE; 44 virtual ExtensionService* GetExtensionService() OVERRIDE;
45 virtual ExtensionSpecialStoragePolicy* 45 virtual ExtensionSpecialStoragePolicy*
46 GetExtensionSpecialStoragePolicy() OVERRIDE; 46 GetExtensionSpecialStoragePolicy() OVERRIDE;
47 virtual PrefService* GetPrefs() OVERRIDE; 47 virtual PrefService* GetPrefs() OVERRIDE;
48 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 48 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
49 virtual net::URLRequestContextGetter* 49 virtual net::URLRequestContextGetter*
50 GetRequestContextForExtensions() OVERRIDE; 50 GetRequestContextForExtensions() OVERRIDE;
51 virtual net::URLRequestContextGetter* CreateRequestContext( 51 virtual net::URLRequestContextGetter* CreateRequestContext(
52 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 52 content::ProtocolHandlerMap* protocol_handlers,
53 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
53 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 54 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
54 const base::FilePath& partition_path, 55 const base::FilePath& partition_path,
55 bool in_memory, 56 bool in_memory,
56 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 57 content::ProtocolHandlerMap* protocol_handlers,
58 content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
57 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 59 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
58 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 60 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
59 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 61 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
60 virtual Time GetStartTime() const OVERRIDE; 62 virtual Time GetStartTime() const OVERRIDE;
61 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 63 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
62 virtual history::TopSites* GetTopSites() OVERRIDE; 64 virtual history::TopSites* GetTopSites() OVERRIDE;
63 virtual base::FilePath last_selected_directory() OVERRIDE; 65 virtual base::FilePath last_selected_directory() OVERRIDE;
64 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; 66 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE;
65 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 67 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
66 virtual void SetExitType(ExitType exit_type) OVERRIDE; 68 virtual void SetExitType(ExitType exit_type) OVERRIDE;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 base::FilePath last_selected_directory_; 152 base::FilePath last_selected_directory_;
151 153
152 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 154 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
153 155
154 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 156 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
155 157
156 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 158 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
157 }; 159 };
158 160
159 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 161 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698