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 27 matching lines...) Expand all Loading... |
38 class ProfileImpl : public Profile, | 38 class ProfileImpl : public Profile, |
39 public SpellCheckHostObserver, | 39 public SpellCheckHostObserver, |
40 public NotificationObserver { | 40 public NotificationObserver { |
41 public: | 41 public: |
42 virtual ~ProfileImpl(); | 42 virtual ~ProfileImpl(); |
43 | 43 |
44 static void RegisterUserPrefs(PrefService* prefs); | 44 static void RegisterUserPrefs(PrefService* prefs); |
45 | 45 |
46 // Profile implementation. | 46 // Profile implementation. |
47 virtual std::string GetProfileName(); | 47 virtual std::string GetProfileName(); |
48 virtual ProfileId GetRuntimeId(); | |
49 virtual FilePath GetPath(); | 48 virtual FilePath GetPath(); |
50 virtual bool IsOffTheRecord(); | 49 virtual bool IsOffTheRecord(); |
51 virtual Profile* GetOffTheRecordProfile(); | 50 virtual Profile* GetOffTheRecordProfile(); |
52 virtual void DestroyOffTheRecordProfile(); | 51 virtual void DestroyOffTheRecordProfile(); |
53 virtual bool HasOffTheRecordProfile(); | 52 virtual bool HasOffTheRecordProfile(); |
54 virtual Profile* GetOriginalProfile(); | 53 virtual Profile* GetOriginalProfile(); |
55 virtual ChromeAppCacheService* GetAppCacheService(); | 54 virtual ChromeAppCacheService* GetAppCacheService(); |
56 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); | 55 virtual webkit_database::DatabaseTracker* GetDatabaseTracker(); |
57 virtual history::TopSites* GetTopSites(); | 56 virtual history::TopSites* GetTopSites(); |
58 virtual history::TopSites* GetTopSitesWithoutCreating(); | 57 virtual history::TopSites* GetTopSitesWithoutCreating(); |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 294 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
296 | 295 |
297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 296 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
298 | 297 |
299 Profile::Delegate* delegate_; | 298 Profile::Delegate* delegate_; |
300 | 299 |
301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 300 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
302 }; | 301 }; |
303 | 302 |
304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 303 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |