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 PrefProxyConfigTracker; | |
71 class PromoCounter; | 72 class PromoCounter; |
72 class ProfileSyncService; | 73 class ProfileSyncService; |
73 class ProfileSyncFactory; | 74 class ProfileSyncFactory; |
74 class SessionService; | 75 class SessionService; |
75 class SpellCheckHost; | 76 class SpellCheckHost; |
76 class SSLConfigServiceManager; | 77 class SSLConfigServiceManager; |
77 class SSLHostState; | 78 class SSLHostState; |
78 class StatusTray; | 79 class StatusTray; |
79 class TransportSecurityPersister; | 80 class TransportSecurityPersister; |
80 class SQLitePersistentCookieStore; | 81 class SQLitePersistentCookieStore; |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
471 | 472 |
472 // Returns the PromoCounter for Instant, or NULL if not applicable. | 473 // Returns the PromoCounter for Instant, or NULL if not applicable. |
473 virtual PromoCounter* GetInstantPromoCounter() = 0; | 474 virtual PromoCounter* GetInstantPromoCounter() = 0; |
474 | 475 |
475 #if defined(OS_CHROMEOS) | 476 #if defined(OS_CHROMEOS) |
476 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. | 477 // Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created. |
477 virtual chromeos::ProxyConfigServiceImpl* | 478 virtual chromeos::ProxyConfigServiceImpl* |
478 GetChromeOSProxyConfigServiceImpl() = 0; | 479 GetChromeOSProxyConfigServiceImpl() = 0; |
479 #endif // defined(OS_CHROMEOS) | 480 #endif // defined(OS_CHROMEOS) |
480 | 481 |
482 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; | |
eroman
2010/11/20 03:19:07
comment?
Mattias Nissler (ping if slow)
2010/11/21 22:49:14
Done.
| |
483 | |
481 #ifdef UNIT_TEST | 484 #ifdef UNIT_TEST |
482 // Use with caution. GetDefaultRequestContext may be called on any thread! | 485 // Use with caution. GetDefaultRequestContext may be called on any thread! |
483 static void set_default_request_context(URLRequestContextGetter* c) { | 486 static void set_default_request_context(URLRequestContextGetter* c) { |
484 default_request_context_ = c; | 487 default_request_context_ = c; |
485 } | 488 } |
486 #endif | 489 #endif |
487 | 490 |
488 // Did the user restore the last session? This is set by SessionRestore. | 491 // Did the user restore the last session? This is set by SessionRestore. |
489 void set_restored_last_session(bool restored_last_session) { | 492 void set_restored_last_session(bool restored_last_session) { |
490 restored_last_session_ = restored_last_session; | 493 restored_last_session_ = restored_last_session; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
523 bool restored_last_session_; | 526 bool restored_last_session_; |
524 | 527 |
525 // Accessibility events will only be propagated when the pause | 528 // Accessibility events will only be propagated when the pause |
526 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 529 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
527 // increment and decrement the level, respectively, rather than set it to | 530 // increment and decrement the level, respectively, rather than set it to |
528 // true or false, so that calls can be nested. | 531 // true or false, so that calls can be nested. |
529 int accessibility_pause_level_; | 532 int accessibility_pause_level_; |
530 }; | 533 }; |
531 | 534 |
532 #endif // CHROME_BROWSER_PROFILE_H_ | 535 #endif // CHROME_BROWSER_PROFILE_H_ |
OLD | NEW |