OLD | NEW |
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const content::NotificationDetails& details) OVERRIDE; | 111 const content::NotificationDetails& details) OVERRIDE; |
112 | 112 |
113 private: | 113 private: |
114 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); | 114 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); |
115 void InitHostZoomMap(); | 115 void InitHostZoomMap(); |
116 | 116 |
117 #if defined(OS_ANDROID) | 117 #if defined(OS_ANDROID) |
118 void UseSystemProxy(); | 118 void UseSystemProxy(); |
119 #endif | 119 #endif |
120 | 120 |
121 virtual base::Callback<ChromeURLDataManagerBackend*(void)> | |
122 GetChromeURLDataManagerBackendGetter() const OVERRIDE; | |
123 | |
124 content::NotificationRegistrar registrar_; | 121 content::NotificationRegistrar registrar_; |
125 | 122 |
126 // The real underlying profile. | 123 // The real underlying profile. |
127 Profile* profile_; | 124 Profile* profile_; |
128 | 125 |
129 // Weak pointer owned by |profile_|. | 126 // Weak pointer owned by |profile_|. |
130 PrefServiceSyncable* prefs_; | 127 PrefServiceSyncable* prefs_; |
131 | 128 |
132 OffTheRecordProfileIOData::Handle io_data_; | 129 OffTheRecordProfileIOData::Handle io_data_; |
133 | 130 |
134 // We use a non-persistent content settings map for OTR. | 131 // We use a non-persistent content settings map for OTR. |
135 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 132 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
136 | 133 |
137 // Time we were started. | 134 // Time we were started. |
138 Time start_time_; | 135 Time start_time_; |
139 | 136 |
140 FilePath last_selected_directory_; | 137 FilePath last_selected_directory_; |
141 | 138 |
142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 139 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
143 | 140 |
144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 141 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
145 }; | 142 }; |
146 | 143 |
147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 144 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |