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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 namespace prerender { | 47 namespace prerender { |
48 class PrerenderManager; | 48 class PrerenderManager; |
49 } | 49 } |
50 | 50 |
51 namespace speech_input { | 51 namespace speech_input { |
52 class SpeechRecognizer; | 52 class SpeechRecognizer; |
53 } | 53 } |
54 | 54 |
55 class AutocompleteClassifier; | 55 class AutocompleteClassifier; |
56 class BookmarkModel; | 56 class BookmarkModel; |
57 class BrowserSignin; | |
58 class ChromeAppCacheService; | 57 class ChromeAppCacheService; |
59 class ChromeURLDataManager; | 58 class ChromeURLDataManager; |
60 class Extension; | 59 class Extension; |
61 class ExtensionDevToolsManager; | 60 class ExtensionDevToolsManager; |
62 class ExtensionEventRouter; | 61 class ExtensionEventRouter; |
63 class ExtensionInfoMap; | 62 class ExtensionInfoMap; |
64 class ExtensionMessageService; | 63 class ExtensionMessageService; |
65 class ExtensionPrefValueMap; | 64 class ExtensionPrefValueMap; |
66 class ExtensionProcessManager; | 65 class ExtensionProcessManager; |
67 class ExtensionService; | 66 class ExtensionService; |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; | 350 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; |
352 | 351 |
353 // Returns the PersonalDataManager associated with this profile. | 352 // Returns the PersonalDataManager associated with this profile. |
354 virtual PersonalDataManager* GetPersonalDataManager() = 0; | 353 virtual PersonalDataManager* GetPersonalDataManager() = 0; |
355 | 354 |
356 // Returns the FileSystemContext associated to this profile. The context | 355 // Returns the FileSystemContext associated to this profile. The context |
357 // is lazily created the first time this method is called. This is owned | 356 // is lazily created the first time this method is called. This is owned |
358 // by the profile. | 357 // by the profile. |
359 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; | 358 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; |
360 | 359 |
361 // Returns the BrowserSignin object assigned to this profile. | |
362 virtual BrowserSignin* GetBrowserSignin() = 0; | |
363 | |
364 // Returns the request context used for extension-related requests. This | 360 // Returns the request context used for extension-related requests. This |
365 // is only used for a separate cookie store currently. | 361 // is only used for a separate cookie store currently. |
366 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; | 362 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; |
367 | 363 |
368 // Returns the request context used within an installed app that has | 364 // Returns the request context used within an installed app that has |
369 // requested isolated storage. | 365 // requested isolated storage. |
370 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 366 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
371 const std::string& app_id) = 0; | 367 const std::string& app_id) = 0; |
372 | 368 |
373 // Called by the ExtensionService that lives in this profile. Gives the | 369 // Called by the ExtensionService that lives in this profile. Gives the |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 struct hash<Profile*> { | 583 struct hash<Profile*> { |
588 std::size_t operator()(Profile* const& p) const { | 584 std::size_t operator()(Profile* const& p) const { |
589 return reinterpret_cast<std::size_t>(p); | 585 return reinterpret_cast<std::size_t>(p); |
590 } | 586 } |
591 }; | 587 }; |
592 | 588 |
593 } // namespace __gnu_cxx | 589 } // namespace __gnu_cxx |
594 #endif | 590 #endif |
595 | 591 |
596 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |