| 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 class ExtensionService; | 67 class ExtensionService; |
| 68 class ExtensionSpecialStoragePolicy; | 68 class ExtensionSpecialStoragePolicy; |
| 69 class FaviconService; | 69 class FaviconService; |
| 70 class FilePath; | 70 class FilePath; |
| 71 class FindBarState; | 71 class FindBarState; |
| 72 class GeolocationContentSettingsMap; | 72 class GeolocationContentSettingsMap; |
| 73 class GeolocationPermissionContext; | 73 class GeolocationPermissionContext; |
| 74 class HistoryService; | 74 class HistoryService; |
| 75 class HostContentSettingsMap; | 75 class HostContentSettingsMap; |
| 76 class HostZoomMap; | 76 class HostZoomMap; |
| 77 class NTPResourceCache; | |
| 78 class NavigationController; | 77 class NavigationController; |
| 79 class PasswordStore; | 78 class PasswordStore; |
| 80 class PersonalDataManager; | 79 class PersonalDataManager; |
| 81 class PrefProxyConfigTracker; | 80 class PrefProxyConfigTracker; |
| 82 class PrefService; | 81 class PrefService; |
| 83 class ProfileSyncFactory; | 82 class ProfileSyncFactory; |
| 84 class ProfileSyncService; | 83 class ProfileSyncService; |
| 85 class PromoCounter; | 84 class PromoCounter; |
| 86 class ProtocolHandlerRegistry; | 85 class ProtocolHandlerRegistry; |
| 87 class SQLitePersistentCookieStore; | 86 class SQLitePersistentCookieStore; |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 // are controlled by |extensions_enabled|. | 457 // are controlled by |extensions_enabled|. |
| 459 virtual void InitExtensions(bool extensions_enabled) = 0; | 458 virtual void InitExtensions(bool extensions_enabled) = 0; |
| 460 | 459 |
| 461 // Start up service that gathers data from a promo resource feed. | 460 // Start up service that gathers data from a promo resource feed. |
| 462 virtual void InitPromoResources() = 0; | 461 virtual void InitPromoResources() = 0; |
| 463 | 462 |
| 464 // Register URLRequestFactories for protocols registered with | 463 // Register URLRequestFactories for protocols registered with |
| 465 // registerProtocolHandler. | 464 // registerProtocolHandler. |
| 466 virtual void InitRegisteredProtocolHandlers() = 0; | 465 virtual void InitRegisteredProtocolHandlers() = 0; |
| 467 | 466 |
| 468 // Returns the new tab page resource cache. | |
| 469 virtual NTPResourceCache* GetNTPResourceCache() = 0; | |
| 470 | |
| 471 // Returns the last directory that was chosen for uploading or opening a file. | 467 // Returns the last directory that was chosen for uploading or opening a file. |
| 472 virtual FilePath last_selected_directory() = 0; | 468 virtual FilePath last_selected_directory() = 0; |
| 473 virtual void set_last_selected_directory(const FilePath& path) = 0; | 469 virtual void set_last_selected_directory(const FilePath& path) = 0; |
| 474 | 470 |
| 475 // Returns a pointer to the ChromeBlobStorageContext instance for this | 471 // Returns a pointer to the ChromeBlobStorageContext instance for this |
| 476 // profile. | 472 // profile. |
| 477 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 473 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
| 478 | 474 |
| 479 // Returns the IO-thread-accessible profile data for this profile. | 475 // Returns the IO-thread-accessible profile data for this profile. |
| 480 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 476 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 bool restored_last_session_; | 567 bool restored_last_session_; |
| 572 | 568 |
| 573 // Accessibility events will only be propagated when the pause | 569 // Accessibility events will only be propagated when the pause |
| 574 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 570 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 575 // increment and decrement the level, respectively, rather than set it to | 571 // increment and decrement the level, respectively, rather than set it to |
| 576 // true or false, so that calls can be nested. | 572 // true or false, so that calls can be nested. |
| 577 int accessibility_pause_level_; | 573 int accessibility_pause_level_; |
| 578 }; | 574 }; |
| 579 | 575 |
| 580 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 576 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |