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

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

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Charlie's comments. Created 7 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"
11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" 11 #include "chrome/browser/profiles/off_the_record_profile_io_data.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/browser_list.h" 13 #include "chrome/browser/ui/browser_list.h"
14 #include "content/public/browser/content_browser_client.h"
14 #include "content/public/browser/host_zoom_map.h" 15 #include "content/public/browser/host_zoom_map.h"
15 16
16 using base::Time; 17 using base::Time;
17 using base::TimeDelta; 18 using base::TimeDelta;
18 19
19 class PrefServiceSyncable; 20 class PrefServiceSyncable;
20 21
21 //////////////////////////////////////////////////////////////////////////////// 22 ////////////////////////////////////////////////////////////////////////////////
22 // 23 //
23 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile 24 // OffTheRecordProfileImpl is a profile subclass that wraps an existing profile
(...skipping 20 matching lines...) Expand all
44 GetExtensionSpecialStoragePolicy() OVERRIDE; 45 GetExtensionSpecialStoragePolicy() OVERRIDE;
45 virtual policy::ManagedModePolicyProvider* 46 virtual policy::ManagedModePolicyProvider*
46 GetManagedModePolicyProvider() OVERRIDE; 47 GetManagedModePolicyProvider() OVERRIDE;
47 virtual policy::PolicyService* GetPolicyService() OVERRIDE; 48 virtual policy::PolicyService* GetPolicyService() OVERRIDE;
48 virtual PrefService* GetPrefs() OVERRIDE; 49 virtual PrefService* GetPrefs() OVERRIDE;
49 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 50 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
50 virtual net::URLRequestContextGetter* 51 virtual net::URLRequestContextGetter*
51 GetRequestContextForExtensions() OVERRIDE; 52 GetRequestContextForExtensions() OVERRIDE;
52 virtual net::URLRequestContextGetter* CreateRequestContext( 53 virtual net::URLRequestContextGetter* CreateRequestContext(
53 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 54 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
54 blob_protocol_handler,
55 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
56 file_system_protocol_handler,
57 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
58 developer_protocol_handler, 55 developer_protocol_handler,
59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 56 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
60 chrome_protocol_handler,
61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
62 chrome_devtools_protocol_handler) OVERRIDE;
63 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 57 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
64 const base::FilePath& partition_path, 58 const base::FilePath& partition_path,
65 bool in_memory, 59 bool in_memory,
66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 60 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
67 blob_protocol_handler,
68 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
69 file_system_protocol_handler,
70 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
71 developer_protocol_handler, 61 developer_protocol_handler,
72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 62 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
73 chrome_protocol_handler,
74 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
75 chrome_devtools_protocol_handler) OVERRIDE;
76 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 63 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
77 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 64 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
78 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 65 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
79 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 66 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
80 virtual Time GetStartTime() const OVERRIDE; 67 virtual Time GetStartTime() const OVERRIDE;
81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 68 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
82 virtual history::TopSites* GetTopSites() OVERRIDE; 69 virtual history::TopSites* GetTopSites() OVERRIDE;
83 virtual base::FilePath last_selected_directory() OVERRIDE; 70 virtual base::FilePath last_selected_directory() OVERRIDE;
84 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; 71 virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE;
85 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 72 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 base::FilePath last_selected_directory_; 140 base::FilePath last_selected_directory_;
154 141
155 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
156 143
157 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; 144 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
158 145
159 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
160 }; 147 };
161 148
162 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698