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

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

Issue 9949033: Removed access to prefs that does not work on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 // 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
11 #include <string> 11 #include <string>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "chrome/browser/prefs/pref_change_registrar.h" 18 #include "chrome/browser/prefs/pref_change_registrar.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/profiles/profile_impl_io_data.h" 20 #include "chrome/browser/profiles/profile_impl_io_data.h"
21 #include "content/public/browser/notification_observer.h" 21 #include "content/public/browser/notification_observer.h"
22 #include "content/public/browser/notification_registrar.h" 22 #include "content/public/browser/notification_registrar.h"
23 23
24 class ExtensionNavigationObserver; 24 class ExtensionNavigationObserver;
25 class ExtensionSystem; 25 class ExtensionSystem;
26 class NetPrefObserver; 26 class NetPrefObserver;
27 class PrefService; 27 class PrefService;
28 class PromoResourceService;
29 class SSLConfigServiceManager; 28 class SSLConfigServiceManager;
30 class VisitedLinkEventListener; 29 class VisitedLinkEventListener;
31 30
31 #if !defined(OS_ANDROID)
32 class PromoResourceService;
33 #endif
34
32 #if defined(OS_CHROMEOS) 35 #if defined(OS_CHROMEOS)
33 namespace chromeos { 36 namespace chromeos {
34 class EnterpriseExtensionObserver; 37 class EnterpriseExtensionObserver;
35 class LocaleChangeGuard; 38 class LocaleChangeGuard;
36 class Preferences; 39 class Preferences;
37 } 40 }
38 #endif 41 #endif
39 42
40 namespace content { 43 namespace content {
41 class SpeechRecognitionPreferences; 44 class SpeechRecognitionPreferences;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // pointers to |prefs_| and shall be destructed first. 194 // pointers to |prefs_| and shall be destructed first.
192 scoped_ptr<PrefService> prefs_; 195 scoped_ptr<PrefService> prefs_;
193 scoped_ptr<PrefService> otr_prefs_; 196 scoped_ptr<PrefService> otr_prefs_;
194 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 197 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
195 scoped_ptr<VisitedLinkMaster> visited_link_master_; 198 scoped_ptr<VisitedLinkMaster> visited_link_master_;
196 ProfileImplIOData::Handle io_data_; 199 ProfileImplIOData::Handle io_data_;
197 scoped_refptr<ExtensionSpecialStoragePolicy> 200 scoped_refptr<ExtensionSpecialStoragePolicy>
198 extension_special_storage_policy_; 201 extension_special_storage_policy_;
199 scoped_ptr<NetPrefObserver> net_pref_observer_; 202 scoped_ptr<NetPrefObserver> net_pref_observer_;
200 scoped_ptr<BookmarkModel> bookmark_bar_model_; 203 scoped_ptr<BookmarkModel> bookmark_bar_model_;
204
205 #if !defined(OS_ANDROID)
201 scoped_refptr<PromoResourceService> promo_resource_service_; 206 scoped_refptr<PromoResourceService> promo_resource_service_;
207 #endif
208
202 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; 209 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
203 210
204 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 211 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
205 212
206 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 213 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
207 scoped_refptr<content::GeolocationPermissionContext> 214 scoped_refptr<content::GeolocationPermissionContext>
208 geolocation_permission_context_; 215 geolocation_permission_context_;
209 scoped_refptr<content::SpeechRecognitionPreferences> 216 scoped_refptr<content::SpeechRecognitionPreferences>
210 speech_recognition_preferences_; 217 speech_recognition_preferences_;
211 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 218 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 Profile::Delegate* delegate_; 269 Profile::Delegate* delegate_;
263 270
264 chrome_browser_net::Predictor* predictor_; 271 chrome_browser_net::Predictor* predictor_;
265 272
266 bool session_restore_enabled_; 273 bool session_restore_enabled_;
267 274
268 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
269 }; 276 };
270 277
271 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | chrome/browser/web_resource/notification_promo.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698