| 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_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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 class ChromeBlobStorageContext; | 52 class ChromeBlobStorageContext; |
| 53 class ChromeURLRequestContextGetter; | 53 class ChromeURLRequestContextGetter; |
| 54 class CloudPrintProxyService; | 54 class CloudPrintProxyService; |
| 55 class DesktopNotificationService; | 55 class DesktopNotificationService; |
| 56 class DownloadManager; | 56 class DownloadManager; |
| 57 class Extension; | 57 class Extension; |
| 58 class ExtensionDevToolsManager; | 58 class ExtensionDevToolsManager; |
| 59 class ExtensionEventRouter; | 59 class ExtensionEventRouter; |
| 60 class ExtensionInfoMap; | 60 class ExtensionInfoMap; |
| 61 class ExtensionMessageService; | 61 class ExtensionMessageService; |
| 62 class ExtensionPrefValueMap; |
| 62 class ExtensionProcessManager; | 63 class ExtensionProcessManager; |
| 63 class ExtensionService; | 64 class ExtensionService; |
| 64 class FaviconService; | 65 class FaviconService; |
| 65 class FilePath; | 66 class FilePath; |
| 66 class FindBarState; | 67 class FindBarState; |
| 67 class GeolocationContentSettingsMap; | 68 class GeolocationContentSettingsMap; |
| 68 class GeolocationPermissionContext; | 69 class GeolocationPermissionContext; |
| 69 class HistoryService; | 70 class HistoryService; |
| 70 class HostContentSettingsMap; | 71 class HostContentSettingsMap; |
| 71 class HostZoomMap; | 72 class HostZoomMap; |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 } | 537 } |
| 537 | 538 |
| 538 // Checks whether sync is configurable by the user. Returns false if sync is | 539 // Checks whether sync is configurable by the user. Returns false if sync is |
| 539 // disabled or controlled by configuration management. | 540 // disabled or controlled by configuration management. |
| 540 bool IsSyncAccessible(); | 541 bool IsSyncAccessible(); |
| 541 | 542 |
| 542 // Creates an OffTheRecordProfile which points to this Profile. | 543 // Creates an OffTheRecordProfile which points to this Profile. |
| 543 Profile* CreateOffTheRecordProfile(); | 544 Profile* CreateOffTheRecordProfile(); |
| 544 | 545 |
| 545 protected: | 546 protected: |
| 547 friend class OffTheRecordProfileImpl; |
| 548 |
| 546 static URLRequestContextGetter* default_request_context_; | 549 static URLRequestContextGetter* default_request_context_; |
| 547 | 550 |
| 551 virtual ExtensionPrefValueMap* GetExtensionPrefValueMap() = 0; |
| 552 |
| 548 private: | 553 private: |
| 549 bool restored_last_session_; | 554 bool restored_last_session_; |
| 550 | 555 |
| 551 // Accessibility events will only be propagated when the pause | 556 // Accessibility events will only be propagated when the pause |
| 552 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 557 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 553 // increment and decrement the level, respectively, rather than set it to | 558 // increment and decrement the level, respectively, rather than set it to |
| 554 // true or false, so that calls can be nested. | 559 // true or false, so that calls can be nested. |
| 555 int accessibility_pause_level_; | 560 int accessibility_pause_level_; |
| 556 }; | 561 }; |
| 557 | 562 |
| 558 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 563 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |