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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 // Returns a pointer to the ChromeBlobStorageContext instance for this | 469 // Returns a pointer to the ChromeBlobStorageContext instance for this |
470 // profile. | 470 // profile. |
471 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 471 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
472 | 472 |
473 // Returns the IO-thread-accessible profile data for this profile. | 473 // Returns the IO-thread-accessible profile data for this profile. |
474 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; | 474 virtual ExtensionInfoMap* GetExtensionInfoMap() = 0; |
475 | 475 |
476 // Returns the PromoCounter for Instant, or NULL if not applicable. | 476 // Returns the PromoCounter for Instant, or NULL if not applicable. |
477 virtual PromoCounter* GetInstantPromoCounter() = 0; | 477 virtual PromoCounter* GetInstantPromoCounter() = 0; |
478 | 478 |
479 // Gets the device management service associated with this profile. | 479 // Gets the policy context associated with this profile. |
480 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; | 480 virtual policy::ProfilePolicyContext* GetPolicyContext() = 0; |
481 | 481 |
482 #if defined(OS_CHROMEOS) | 482 #if defined(OS_CHROMEOS) |
483 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 483 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
484 virtual chromeos::ProxyConfigServiceImpl* | 484 virtual chromeos::ProxyConfigServiceImpl* |
485 GetChromeOSProxyConfigServiceImpl() = 0; | 485 GetChromeOSProxyConfigServiceImpl() = 0; |
486 #endif // defined(OS_CHROMEOS) | 486 #endif // defined(OS_CHROMEOS) |
487 | 487 |
488 #ifdef UNIT_TEST | 488 #ifdef UNIT_TEST |
489 // Use with caution. GetDefaultRequestContext may be called on any thread! | 489 // Use with caution. GetDefaultRequestContext may be called on any thread! |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 bool restored_last_session_; | 530 bool restored_last_session_; |
531 | 531 |
532 // Accessibility events will only be propagated when the pause | 532 // Accessibility events will only be propagated when the pause |
533 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 533 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
534 // increment and decrement the level, respectively, rather than set it to | 534 // increment and decrement the level, respectively, rather than set it to |
535 // true or false, so that calls can be nested. | 535 // true or false, so that calls can be nested. |
536 int accessibility_pause_level_; | 536 int accessibility_pause_level_; |
537 }; | 537 }; |
538 | 538 |
539 #endif // CHROME_BROWSER_PROFILE_H_ | 539 #endif // CHROME_BROWSER_PROFILE_H_ |
OLD | NEW |