| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 79 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 80 int renderer_child_id) OVERRIDE; | 80 int renderer_child_id) OVERRIDE; |
| 81 virtual net::URLRequestContextGetter* | 81 virtual net::URLRequestContextGetter* |
| 82 GetMediaRequestContextForStoragePartition( | 82 GetMediaRequestContextForStoragePartition( |
| 83 const base::FilePath& partition_path, | 83 const base::FilePath& partition_path, |
| 84 bool in_memory) OVERRIDE; | 84 bool in_memory) OVERRIDE; |
| 85 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 85 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 86 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 86 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 87 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 87 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 88 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 88 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 89 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; |
| 89 | 90 |
| 90 // Profile implementation: | 91 // Profile implementation: |
| 91 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 92 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 92 // Note that this implementation returns the Google-services username, if any, | 93 // Note that this implementation returns the Google-services username, if any, |
| 93 // not the Chrome user's display name. | 94 // not the Chrome user's display name. |
| 94 virtual std::string GetProfileName() OVERRIDE; | 95 virtual std::string GetProfileName() OVERRIDE; |
| 95 virtual ProfileType GetProfileType() const OVERRIDE; | 96 virtual ProfileType GetProfileType() const OVERRIDE; |
| 96 virtual bool IsOffTheRecord() const OVERRIDE; | 97 virtual bool IsOffTheRecord() const OVERRIDE; |
| 97 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 98 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 98 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 99 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // components/keyed_service/content/browser_context_keyed_service_factory.* | 285 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 285 | 286 |
| 286 Profile::Delegate* delegate_; | 287 Profile::Delegate* delegate_; |
| 287 | 288 |
| 288 chrome_browser_net::Predictor* predictor_; | 289 chrome_browser_net::Predictor* predictor_; |
| 289 | 290 |
| 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |