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

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: dgrogan comments #2, mihai comments #1 Created 9 years, 6 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/spellcheck_host_observer.h" 18 #include "chrome/browser/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 ExtensionPrefs; 22 class ExtensionPrefs;
23 class ExtensionPrefValueMap; 23 class ExtensionPrefValueMap;
24 class ExtensionSettings;
24 class PrefService; 25 class PrefService;
25 26
26 #if defined(OS_CHROMEOS) 27 #if defined(OS_CHROMEOS)
27 namespace chromeos { 28 namespace chromeos {
28 class EnterpriseExtensionObserver; 29 class EnterpriseExtensionObserver;
29 class LocaleChangeGuard; 30 class LocaleChangeGuard;
30 class Preferences; 31 class Preferences;
31 } 32 }
32 #endif 33 #endif
33 34
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Keep |prefs_| on top for destruction order because |extension_prefs_|, 187 // Keep |prefs_| on top for destruction order because |extension_prefs_|,
187 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store 188 // |net_pref_observer_|, |web_resource_service_|, and |io_data_| store
188 // pointers to |prefs_| and shall be destructed first. 189 // pointers to |prefs_| and shall be destructed first.
189 scoped_ptr<PrefService> prefs_; 190 scoped_ptr<PrefService> prefs_;
190 scoped_ptr<PrefService> otr_prefs_; 191 scoped_ptr<PrefService> otr_prefs_;
191 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_; 192 scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
192 scoped_ptr<VisitedLinkMaster> visited_link_master_; 193 scoped_ptr<VisitedLinkMaster> visited_link_master_;
193 // Keep extension_prefs_ on top of extension_service_ because the latter 194 // Keep extension_prefs_ on top of extension_service_ because the latter
194 // maintains a pointer to the first and shall be destructed first. 195 // maintains a pointer to the first and shall be destructed first.
195 scoped_ptr<ExtensionPrefs> extension_prefs_; 196 scoped_ptr<ExtensionPrefs> extension_prefs_;
197 scoped_ptr<ExtensionSettings> extension_settings_;
196 scoped_ptr<ExtensionService> extension_service_; 198 scoped_ptr<ExtensionService> extension_service_;
197 scoped_refptr<UserScriptMaster> user_script_master_; 199 scoped_refptr<UserScriptMaster> user_script_master_;
198 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; 200 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;
199 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 201 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
200 scoped_refptr<ExtensionMessageService> extension_message_service_; 202 scoped_refptr<ExtensionMessageService> extension_message_service_;
201 scoped_ptr<ExtensionEventRouter> extension_event_router_; 203 scoped_ptr<ExtensionEventRouter> extension_event_router_;
202 scoped_refptr<ExtensionSpecialStoragePolicy> 204 scoped_refptr<ExtensionSpecialStoragePolicy>
203 extension_special_storage_policy_; 205 extension_special_storage_policy_;
204 scoped_ptr<SSLHostState> ssl_host_state_; 206 scoped_ptr<SSLHostState> ssl_host_state_;
205 scoped_refptr<net::TransportSecurityState> 207 scoped_refptr<net::TransportSecurityState>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 297 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
296 298
297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 299 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
298 300
299 Profile::Delegate* delegate_; 301 Profile::Delegate* delegate_;
300 302
301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
302 }; 304 };
303 305
304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698