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 <memory> | 10 #include <memory> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 content::URLRequestInterceptorScopedVector request_interceptors) override; | 95 content::URLRequestInterceptorScopedVector request_interceptors) override; |
96 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 96 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
97 const base::FilePath& partition_path, | 97 const base::FilePath& partition_path, |
98 bool in_memory, | 98 bool in_memory, |
99 content::ProtocolHandlerMap* protocol_handlers, | 99 content::ProtocolHandlerMap* protocol_handlers, |
100 content::URLRequestInterceptorScopedVector request_interceptors) override; | 100 content::URLRequestInterceptorScopedVector request_interceptors) override; |
101 net::URLRequestContextGetter* CreateMediaRequestContext() override; | 101 net::URLRequestContextGetter* CreateMediaRequestContext() override; |
102 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( | 102 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( |
103 const base::FilePath& partition_path, | 103 const base::FilePath& partition_path, |
104 bool in_memory) override; | 104 bool in_memory) override; |
| 105 void RegisterInProcessServices(StaticServiceMap* services) override; |
105 | 106 |
106 // Profile implementation: | 107 // Profile implementation: |
107 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; | 108 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; |
108 // Note that this implementation returns the Google-services username, if any, | 109 // Note that this implementation returns the Google-services username, if any, |
109 // not the Chrome user's display name. | 110 // not the Chrome user's display name. |
110 std::string GetProfileUserName() const override; | 111 std::string GetProfileUserName() const override; |
111 ProfileType GetProfileType() const override; | 112 ProfileType GetProfileType() const override; |
112 bool IsOffTheRecord() const override; | 113 bool IsOffTheRecord() const override; |
113 Profile* GetOffTheRecordProfile() override; | 114 Profile* GetOffTheRecordProfile() override; |
114 void DestroyOffTheRecordProfile() override; | 115 void DestroyOffTheRecordProfile() override; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // components/keyed_service/content/browser_context_keyed_service_factory.* | 273 // components/keyed_service/content/browser_context_keyed_service_factory.* |
273 | 274 |
274 Profile::Delegate* delegate_; | 275 Profile::Delegate* delegate_; |
275 | 276 |
276 chrome_browser_net::Predictor* predictor_; | 277 chrome_browser_net::Predictor* predictor_; |
277 | 278 |
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
279 }; | 280 }; |
280 | 281 |
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |