| 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 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "chrome/browser/net/preconnect.h" // TODO: remove this. | 15 #include "chrome/browser/net/preconnect.h" // TODO: remove this. |
| 16 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
| 16 #include "chrome/common/extensions/extension_constants.h" | 17 #include "chrome/common/extensions/extension_constants.h" |
| 17 #include "content/browser/browser_context.h" | 18 #include "content/browser/browser_context.h" |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 class Time; | 21 class Time; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace chromeos { | 24 namespace chromeos { |
| 24 class LibCrosServiceLibraryImpl; | 25 class LibCrosServiceLibraryImpl; |
| 25 class ResetDefaultProxyConfigServiceTask; | 26 class ResetDefaultProxyConfigServiceTask; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 class ExtensionPrefValueMap; | 60 class ExtensionPrefValueMap; |
| 60 class ExtensionProcessManager; | 61 class ExtensionProcessManager; |
| 61 class ExtensionService; | 62 class ExtensionService; |
| 62 class ExtensionSpecialStoragePolicy; | 63 class ExtensionSpecialStoragePolicy; |
| 63 class FaviconService; | 64 class FaviconService; |
| 64 class FindBarState; | 65 class FindBarState; |
| 65 class HistoryService; | 66 class HistoryService; |
| 66 class HostContentSettingsMap; | 67 class HostContentSettingsMap; |
| 67 class NavigationController; | 68 class NavigationController; |
| 68 class PasswordStore; | 69 class PasswordStore; |
| 69 class PrefProxyConfigTracker; | |
| 70 class PrefService; | 70 class PrefService; |
| 71 class ProfileSyncFactory; | 71 class ProfileSyncFactory; |
| 72 class ProfileSyncService; | 72 class ProfileSyncService; |
| 73 class PromoCounter; | 73 class PromoCounter; |
| 74 class PromoResourceService; | 74 class PromoResourceService; |
| 75 class ProtocolHandlerRegistry; | 75 class ProtocolHandlerRegistry; |
| 76 class SQLitePersistentCookieStore; | 76 class SQLitePersistentCookieStore; |
| 77 class SSLConfigServiceManager; | 77 class SSLConfigServiceManager; |
| 78 class SpeechInputPreferences; | 78 class SpeechInputPreferences; |
| 79 class SpellCheckHost; | 79 class SpellCheckHost; |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 | 472 |
| 473 // Creates ChromeOS's EnterpriseExtensionListener. | 473 // Creates ChromeOS's EnterpriseExtensionListener. |
| 474 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; | 474 virtual void SetupChromeOSEnterpriseExtensionObserver() = 0; |
| 475 | 475 |
| 476 // Initializes Chrome OS's preferences. | 476 // Initializes Chrome OS's preferences. |
| 477 virtual void InitChromeOSPreferences() = 0; | 477 virtual void InitChromeOSPreferences() = 0; |
| 478 #endif // defined(OS_CHROMEOS) | 478 #endif // defined(OS_CHROMEOS) |
| 479 | 479 |
| 480 // Returns the helper object that provides the proxy configuration service | 480 // Returns the helper object that provides the proxy configuration service |
| 481 // access to the the proxy configuration possibly defined by preferences. | 481 // access to the the proxy configuration possibly defined by preferences. |
| 482 virtual PrefProxyConfigTracker* GetProxyConfigTracker() = 0; | 482 virtual PrefProxyConfigTrackerType* GetProxyConfigTracker() = 0; |
| 483 | 483 |
| 484 // Returns the Predictor object used for dns prefetch. | 484 // Returns the Predictor object used for dns prefetch. |
| 485 virtual chrome_browser_net::Predictor* GetNetworkPredictor() = 0; | 485 virtual chrome_browser_net::Predictor* GetNetworkPredictor() = 0; |
| 486 | 486 |
| 487 // Deletes all network related data since |time|. It deletes transport | 487 // Deletes all network related data since |time|. It deletes transport |
| 488 // security state since |time| and it also delete HttpServerProperties data. | 488 // security state since |time| and it also delete HttpServerProperties data. |
| 489 // The implementation is free to run this on a background thread, so when this | 489 // The implementation is free to run this on a background thread, so when this |
| 490 // method returns data is not guaranteed to be deleted. | 490 // method returns data is not guaranteed to be deleted. |
| 491 virtual void ClearNetworkingHistorySince(base::Time time) = 0; | 491 virtual void ClearNetworkingHistorySince(base::Time time) = 0; |
| 492 | 492 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 struct hash<Profile*> { | 564 struct hash<Profile*> { |
| 565 std::size_t operator()(Profile* const& p) const { | 565 std::size_t operator()(Profile* const& p) const { |
| 566 return reinterpret_cast<std::size_t>(p); | 566 return reinterpret_cast<std::size_t>(p); |
| 567 } | 567 } |
| 568 }; | 568 }; |
| 569 | 569 |
| 570 } // namespace __gnu_cxx | 570 } // namespace __gnu_cxx |
| 571 #endif | 571 #endif |
| 572 | 572 |
| 573 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 573 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |