| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 private: | 138 private: |
| 139 friend bool IsGoogleGAIACookieInstalled(); | 139 friend bool IsGoogleGAIACookieInstalled(); |
| 140 friend void chrome_browser_net::PreconnectOnIOThread( | 140 friend void chrome_browser_net::PreconnectOnIOThread( |
| 141 const GURL&, | 141 const GURL&, |
| 142 chrome_browser_net::UrlInfo::ResolutionMotivation, | 142 chrome_browser_net::UrlInfo::ResolutionMotivation, |
| 143 int); | 143 int); |
| 144 | 144 |
| 145 friend class AutofillDownloadManager; | 145 friend class AutofillDownloadManager; |
| 146 friend class ChromePluginMessageFilter; | 146 friend class ChromePluginMessageFilter; |
| 147 friend class BrowserListTabContentsProvider; | 147 friend class BrowserListTabContentsProvider; |
| 148 friend class LiveSyncTest; | |
| 149 friend class MetricsService; | 148 friend class MetricsService; |
| 150 friend class SafeBrowsingServiceTestHelper; | 149 friend class SafeBrowsingServiceTestHelper; |
| 151 friend class SdchDictionaryFetcher; | 150 friend class SdchDictionaryFetcher; |
| 151 friend class SyncTest; |
| 152 friend class Toolbar5Importer; | 152 friend class Toolbar5Importer; |
| 153 friend class TranslateManager; | 153 friend class TranslateManager; |
| 154 friend class chrome::ChromeContentBrowserClient; | 154 friend class chrome::ChromeContentBrowserClient; |
| 155 friend class chromeos::LibCrosServiceLibraryImpl; | 155 friend class chromeos::LibCrosServiceLibraryImpl; |
| 156 friend class chromeos::ResetDefaultProxyConfigServiceTask; | 156 friend class chromeos::ResetDefaultProxyConfigServiceTask; |
| 157 | 157 |
| 158 static net::URLRequestContextGetter* GetDefaultRequestContext() { | 158 static net::URLRequestContextGetter* GetDefaultRequestContext() { |
| 159 return Profile::GetDefaultRequestContext(); | 159 return Profile::GetDefaultRequestContext(); |
| 160 } | 160 } |
| 161 }; | 161 }; |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 struct hash<Profile*> { | 577 struct hash<Profile*> { |
| 578 std::size_t operator()(Profile* const& p) const { | 578 std::size_t operator()(Profile* const& p) const { |
| 579 return reinterpret_cast<std::size_t>(p); | 579 return reinterpret_cast<std::size_t>(p); |
| 580 } | 580 } |
| 581 }; | 581 }; |
| 582 | 582 |
| 583 } // namespace __gnu_cxx | 583 } // namespace __gnu_cxx |
| 584 #endif | 584 #endif |
| 585 | 585 |
| 586 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 586 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |