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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 int renderer_child_id) OVERRIDE; | 83 int renderer_child_id) OVERRIDE; |
84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
86 int renderer_child_id) OVERRIDE; | 86 int renderer_child_id) OVERRIDE; |
87 virtual net::URLRequestContextGetter* | 87 virtual net::URLRequestContextGetter* |
88 GetMediaRequestContextForStoragePartition( | 88 GetMediaRequestContextForStoragePartition( |
89 const base::FilePath& partition_path, | 89 const base::FilePath& partition_path, |
90 bool in_memory) OVERRIDE; | 90 bool in_memory) OVERRIDE; |
91 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 91 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
92 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 92 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
93 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 93 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
94 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 94 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
95 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; | 95 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; |
96 | 96 |
97 // Profile implementation: | 97 // Profile implementation: |
98 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 98 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
99 // Note that this implementation returns the Google-services username, if any, | 99 // Note that this implementation returns the Google-services username, if any, |
100 // not the Chrome user's display name. | 100 // not the Chrome user's display name. |
101 virtual std::string GetProfileName() OVERRIDE; | 101 virtual std::string GetProfileName() OVERRIDE; |
102 virtual ProfileType GetProfileType() const OVERRIDE; | 102 virtual ProfileType GetProfileType() const OVERRIDE; |
103 virtual bool IsOffTheRecord() const OVERRIDE; | 103 virtual bool IsOffTheRecord() const OVERRIDE; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // components/keyed_service/content/browser_context_keyed_service_factory.* | 291 // components/keyed_service/content/browser_context_keyed_service_factory.* |
292 | 292 |
293 Profile::Delegate* delegate_; | 293 Profile::Delegate* delegate_; |
294 | 294 |
295 chrome_browser_net::Predictor* predictor_; | 295 chrome_browser_net::Predictor* predictor_; |
296 | 296 |
297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 297 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
298 }; | 298 }; |
299 | 299 |
300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 300 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |