Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 GetRequestContext(); | 162 GetRequestContext(); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void EnsureSessionServiceCreated() { | 165 void EnsureSessionServiceCreated() { |
| 166 GetSessionService(); | 166 GetSessionService(); |
| 167 } | 167 } |
| 168 | 168 |
| 169 void RegisterComponentExtensions(); | 169 void RegisterComponentExtensions(); |
| 170 void InstallDefaultApps(); | 170 void InstallDefaultApps(); |
| 171 | 171 |
| 172 #if defined(OS_CHROMEOS) | |
| 173 // Unzips the contents of the accessibility extension into the directory | |
| 174 // specified by |dir_path| if the |manifest| version if greater than the | |
| 175 // version found in the prefs. | |
| 176 void UnzipAccessibilityExtensionResources(const std::string ext_name, | |
|
asargent_no_longer_on_chrome
2011/01/20 05:55:59
Does this method actually need to be a member func
Chaitanya
2011/01/20 20:04:52
removed.
| |
| 177 const FilePath dir_path, | |
| 178 const std::string manifest); | |
| 179 #endif | |
| 180 | |
| 172 NotificationRegistrar registrar_; | 181 NotificationRegistrar registrar_; |
| 173 PrefChangeRegistrar pref_change_registrar_; | 182 PrefChangeRegistrar pref_change_registrar_; |
| 174 | 183 |
| 175 FilePath path_; | 184 FilePath path_; |
| 176 FilePath base_cache_path_; | 185 FilePath base_cache_path_; |
| 177 // Keep prefs_ on top for destruction order because extension_prefs_, | 186 // Keep prefs_ on top for destruction order because extension_prefs_, |
| 178 // net_pref_observer_, web_resource_service_ and background_contents_service_ | 187 // net_pref_observer_, web_resource_service_ and background_contents_service_ |
| 179 // store pointers to prefs_ and shall be destructed first. | 188 // store pointers to prefs_ and shall be destructed first. |
| 180 scoped_ptr<PrefService> prefs_; | 189 scoped_ptr<PrefService> prefs_; |
| 181 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; | 190 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 299 #endif | 308 #endif |
| 300 | 309 |
| 301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 310 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 302 | 311 |
| 303 scoped_refptr<PrerenderManager> prerender_manager_; | 312 scoped_refptr<PrerenderManager> prerender_manager_; |
| 304 | 313 |
| 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 314 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 306 }; | 315 }; |
| 307 | 316 |
| 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 317 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |