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

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

Issue 7189029: Implement an initial extension settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Make clang happy Created 9 years, 4 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) 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
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/browser/prefs/pref_change_registrar.h" 15 #include "chrome/browser/prefs/pref_change_registrar.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_impl_io_data.h" 17 #include "chrome/browser/profiles/profile_impl_io_data.h"
18 #include "chrome/browser/spellchecker/spellcheck_host_observer.h" 18 #include "chrome/browser/spellchecker/spellcheck_host_observer.h"
19 #include "content/common/notification_observer.h" 19 #include "content/common/notification_observer.h"
20 #include "content/common/notification_registrar.h" 20 #include "content/common/notification_registrar.h"
21 21
22 class ChromeDownloadManagerDelegate; 22 class ChromeDownloadManagerDelegate;
23 class ExtensionPrefs; 23 class ExtensionPrefs;
24 class ExtensionPrefValueMap; 24 class ExtensionPrefValueMap;
25 class ExtensionSettings;
25 class PrefService; 26 class PrefService;
26 class SpellCheckHostMetrics; 27 class SpellCheckHostMetrics;
27 28
28 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
29 namespace chromeos { 30 namespace chromeos {
30 class EnterpriseExtensionObserver; 31 class EnterpriseExtensionObserver;
31 class LocaleChangeGuard; 32 class LocaleChangeGuard;
32 class Preferences; 33 class Preferences;
33 } 34 }
34 #endif 35 #endif
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 190 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
190 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store 191 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store
191 // pointers to |prefs_| and shall be destructed first. 192 // pointers to |prefs_| and shall be destructed first.
192 scoped_ptr<PrefService> prefs_; 193 scoped_ptr<PrefService> prefs_;
193 scoped_ptr<PrefService> otr_prefs_; 194 scoped_ptr<PrefService> otr_prefs_;
194 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 195 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
195 scoped_ptr<VisitedLinkMaster> visited_link_master_; 196 scoped_ptr<VisitedLinkMaster> visited_link_master_;
196 // Keep extension_prefs_ on top of extension_service_ because the latter 197 // Keep extension_prefs_ on top of extension_service_ because the latter
197 // maintains a pointer to the first and shall be destructed first. 198 // maintains a pointer to the first and shall be destructed first.
198 scoped_ptr<ExtensionPrefs> extension_prefs_; 199 scoped_ptr<ExtensionPrefs> extension_prefs_;
200 scoped_refptr<ExtensionSettings> extension_settings_;
199 scoped_ptr<ExtensionService> extension_service_; 201 scoped_ptr<ExtensionService> extension_service_;
200 scoped_refptr<UserScriptMaster> user_script_master_; 202 scoped_refptr<UserScriptMaster> user_script_master_;
201 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; 203 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;
202 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 204 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
203 scoped_refptr<ExtensionMessageService> extension_message_service_; 205 scoped_refptr<ExtensionMessageService> extension_message_service_;
204 scoped_ptr<ExtensionEventRouter> extension_event_router_; 206 scoped_ptr<ExtensionEventRouter> extension_event_router_;
205 scoped_refptr<ExtensionSpecialStoragePolicy> 207 scoped_refptr<ExtensionSpecialStoragePolicy>
206 extension_special_storage_policy_; 208 extension_special_storage_policy_;
207 scoped_ptr<SSLHostState> ssl_host_state_; 209 scoped_ptr<SSLHostState> ssl_host_state_;
208 scoped_refptr<net::TransportSecurityState> 210 scoped_refptr<net::TransportSecurityState>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
300 302
301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 303 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
302 304
303 Profile::Delegate* delegate_; 305 Profile::Delegate* delegate_;
304 306
305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
306 }; 308 };
307 309
308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_settings_storage_unittest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698