| OLD | NEW |
| 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILE_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class HistoryService; | 61 class HistoryService; |
| 62 class HostContentSettingsMap; | 62 class HostContentSettingsMap; |
| 63 class HostZoomMap; | 63 class HostZoomMap; |
| 64 class NavigationController; | 64 class NavigationController; |
| 65 class NTPResourceCache; | 65 class NTPResourceCache; |
| 66 class PasswordStore; | 66 class PasswordStore; |
| 67 class PersonalDataManager; | 67 class PersonalDataManager; |
| 68 class PinnedTabService; | 68 class PinnedTabService; |
| 69 class PrefService; | 69 class PrefService; |
| 70 class ExtensionInfoMap; | 70 class ExtensionInfoMap; |
| 71 class PromoCounter; |
| 71 class ProfileSyncService; | 72 class ProfileSyncService; |
| 72 class ProfileSyncFactory; | 73 class ProfileSyncFactory; |
| 73 class SessionService; | 74 class SessionService; |
| 74 class SpellCheckHost; | 75 class SpellCheckHost; |
| 75 class SSLConfigServiceManager; | 76 class SSLConfigServiceManager; |
| 76 class SSLHostState; | 77 class SSLHostState; |
| 77 class StatusTray; | 78 class StatusTray; |
| 78 class TransportSecurityPersister; | 79 class TransportSecurityPersister; |
| 79 class SQLitePersistentCookieStore; | 80 class SQLitePersistentCookieStore; |
| 80 class TabRestoreService; | 81 class TabRestoreService; |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 virtual FilePath last_selected_directory() = 0; | 462 virtual FilePath last_selected_directory() = 0; |
| 462 virtual void set_last_selected_directory(const FilePath& path) = 0; | 463 virtual void set_last_selected_directory(const FilePath& path) = 0; |
| 463 | 464 |
| 464 // Returns a pointer to the ChromeBlobStorageContext instance for this | 465 // Returns a pointer to the ChromeBlobStorageContext instance for this |
| 465 // profile. | 466 // profile. |
| 466 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 467 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
| 467 | 468 |
| 468 // Returns the IO-thread-accessible profile data for this profile. | 469 // Returns the IO-thread-accessible profile data for this profile. |
| 469 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 470 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
| 470 | 471 |
| 472 // Returns the PromoCounter for Instant, or NULL if not applicable. |
| 473 virtual PromoCounter* GetInstantPromoCounter() = 0; |
| 474 |
| 471 #if defined(OS_CHROMEOS) | 475 #if defined(OS_CHROMEOS) |
| 472 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 476 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
| 473 virtual chromeos::ProxyConfigServiceImpl* | 477 virtual chromeos::ProxyConfigServiceImpl* |
| 474 GetChromeOSProxyConfigServiceImpl() = 0; | 478 GetChromeOSProxyConfigServiceImpl() = 0; |
| 475 #endif // defined(OS_CHROMEOS) | 479 #endif // defined(OS_CHROMEOS) |
| 476 | 480 |
| 477 #ifdef UNIT_TEST | 481 #ifdef UNIT_TEST |
| 478 // Use with caution. GetDefaultRequestContext may be called on any thread! | 482 // Use with caution. GetDefaultRequestContext may be called on any thread! |
| 479 static void set_default_request_context(URLRequestContextGetter* c) { | 483 static void set_default_request_context(URLRequestContextGetter* c) { |
| 480 default_request_context_ = c; | 484 default_request_context_ = c; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 bool restored_last_session_; | 523 bool restored_last_session_; |
| 520 | 524 |
| 521 // Accessibility events will only be propagated when the pause | 525 // Accessibility events will only be propagated when the pause |
| 522 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 526 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 523 // increment and decrement the level, respectively, rather than set it to | 527 // increment and decrement the level, respectively, rather than set it to |
| 524 // true or false, so that calls can be nested. | 528 // true or false, so that calls can be nested. |
| 525 int accessibility_pause_level_; | 529 int accessibility_pause_level_; |
| 526 }; | 530 }; |
| 527 | 531 |
| 528 #endif // CHROME_BROWSER_PROFILE_H_ | 532 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |