| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 76 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 77 int renderer_child_id) OVERRIDE; | 77 int renderer_child_id) OVERRIDE; |
| 78 virtual net::URLRequestContextGetter* | 78 virtual net::URLRequestContextGetter* |
| 79 GetMediaRequestContextForStoragePartition( | 79 GetMediaRequestContextForStoragePartition( |
| 80 const base::FilePath& partition_path, | 80 const base::FilePath& partition_path, |
| 81 bool in_memory) OVERRIDE; | 81 bool in_memory) OVERRIDE; |
| 82 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 82 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 83 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 83 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 84 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 84 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 85 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 85 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 86 virtual gcm::GCMPermissionContext* GetPushMessagingPermissionContext() |
| 87 OVERRIDE; |
| 86 | 88 |
| 87 // Profile implementation: | 89 // Profile implementation: |
| 88 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 90 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 89 // Note that this implementation returns the Google-services username, if any, | 91 // Note that this implementation returns the Google-services username, if any, |
| 90 // not the Chrome user's display name. | 92 // not the Chrome user's display name. |
| 91 virtual std::string GetProfileName() OVERRIDE; | 93 virtual std::string GetProfileName() OVERRIDE; |
| 92 virtual ProfileType GetProfileType() const OVERRIDE; | 94 virtual ProfileType GetProfileType() const OVERRIDE; |
| 93 virtual bool IsOffTheRecord() const OVERRIDE; | 95 virtual bool IsOffTheRecord() const OVERRIDE; |
| 94 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 96 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 95 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 97 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 // components/keyed_service/content/browser_context_keyed_service_factory.* | 282 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 281 | 283 |
| 282 Profile::Delegate* delegate_; | 284 Profile::Delegate* delegate_; |
| 283 | 285 |
| 284 chrome_browser_net::Predictor* predictor_; | 286 chrome_browser_net::Predictor* predictor_; |
| 285 | 287 |
| 286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 287 }; | 289 }; |
| 288 | 290 |
| 289 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |