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

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

Issue 5213002: Fix for Bug 50726 "Save extension list and "winning" prefs from extensions" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: reuse old DefaultPrefStore as InMemoryPrefStore Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_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/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profile.h"
16 #include "chrome/browser/prefs/pref_change_registrar.h" 16 #include "chrome/browser/prefs/pref_change_registrar.h"
17 #include "chrome/browser/spellcheck_host_observer.h" 17 #include "chrome/browser/spellcheck_host_observer.h"
18 #include "chrome/common/notification_observer.h" 18 #include "chrome/common/notification_observer.h"
19 #include "chrome/common/notification_registrar.h" 19 #include "chrome/common/notification_registrar.h"
20 20
21 class PrefService; 21 class PrefService;
22 class ExtensionPrefs;
22 23
23 #if defined(OS_CHROMEOS) 24 #if defined(OS_CHROMEOS)
24 namespace chromeos { 25 namespace chromeos {
25 class Preferences; 26 class Preferences;
26 } 27 }
27 #endif 28 #endif
28 29
29 class NetPrefObserver; 30 class NetPrefObserver;
30 31
31 // The default profile implementation. 32 // The default profile implementation.
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // The main database tracker for this profile. 265 // The main database tracker for this profile.
265 // Should be used only on the file thread. 266 // Should be used only on the file thread.
266 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; 267 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
267 268
268 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 269 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
269 270
270 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 271 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
271 272
272 scoped_refptr<ExtensionInfoMap> extension_info_map_; 273 scoped_refptr<ExtensionInfoMap> extension_info_map_;
273 274
275 // This is a temporary pointer that contains the ExtensionPrefs until their
276 // owner ship can be passed off to the ExtensionService
277 scoped_ptr<ExtensionPrefs> tmp_extension_prefs_;
Mattias Nissler (ping if slow) 2010/11/19 10:47:40 s/owner ship/ownership/ missing period
battre (please use the other) 2010/11/19 16:03:18 Done.
278
274 #if defined(OS_CHROMEOS) 279 #if defined(OS_CHROMEOS)
275 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 280 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
276 281
277 scoped_refptr<chromeos::ProxyConfigServiceImpl> 282 scoped_refptr<chromeos::ProxyConfigServiceImpl>
278 chromeos_proxy_config_service_impl_; 283 chromeos_proxy_config_service_impl_;
279 #endif 284 #endif
280 285
281 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
282 }; 287 };
283 288
284 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ 289 #endif // CHROME_BROWSER_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698