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

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

Issue 11308362: Add StoragePartition's ProtocolHandlers at URLRequestContext construction time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync (r181485) Created 7 years, 10 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 29 matching lines...) Expand all
40 virtual ExtensionService* GetExtensionService() OVERRIDE; 40 virtual ExtensionService* GetExtensionService() OVERRIDE;
41 virtual ExtensionSpecialStoragePolicy* 41 virtual ExtensionSpecialStoragePolicy*
42 GetExtensionSpecialStoragePolicy() OVERRIDE; 42 GetExtensionSpecialStoragePolicy() OVERRIDE;
43 virtual policy::ManagedModePolicyProvider* 43 virtual policy::ManagedModePolicyProvider*
44 GetManagedModePolicyProvider() OVERRIDE; 44 GetManagedModePolicyProvider() OVERRIDE;
45 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 45 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
46 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; 46 virtual PrefServiceSyncable* GetPrefs() OVERRIDE;
47 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; 47 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE;
48 virtual net::URLRequestContextGetter* 48 virtual net::URLRequestContextGetter*
49 GetRequestContextForExtensions() OVERRIDE; 49 GetRequestContextForExtensions() OVERRIDE;
50 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 50 virtual net::URLRequestContextGetter* CreateRequestContext(
51 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
52 blob_protocol_handler,
53 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
54 file_system_protocol_handler,
55 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
56 developer_protocol_handler,
57 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
58 chrome_protocol_handler,
59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
60 chrome_devtools_protocol_handler) OVERRIDE;
61 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
51 const FilePath& partition_path, 62 const FilePath& partition_path,
52 bool in_memory) OVERRIDE; 63 bool in_memory,
64 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
65 blob_protocol_handler,
66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
67 file_system_protocol_handler,
68 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
69 developer_protocol_handler,
70 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
71 chrome_protocol_handler,
72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
73 chrome_devtools_protocol_handler) OVERRIDE;
53 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 74 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
54 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 75 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
55 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 76 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
56 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 77 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
57 virtual Time GetStartTime() const OVERRIDE; 78 virtual Time GetStartTime() const OVERRIDE;
58 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 79 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
59 virtual history::TopSites* GetTopSites() OVERRIDE; 80 virtual history::TopSites* GetTopSites() OVERRIDE;
60 virtual FilePath last_selected_directory() OVERRIDE; 81 virtual FilePath last_selected_directory() OVERRIDE;
61 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 82 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
62 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 83 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 FilePath last_selected_directory_; 151 FilePath last_selected_directory_;
131 152
132 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 153 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
133 154
134 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 155 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
135 156
136 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 157 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
137 }; 158 };
138 159
139 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 160 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.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