OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chromecast/browser/cast_browser_context.h" | 5 #include "chromecast/browser/cast_browser_context.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 if (!permission_manager_.get()) | 128 if (!permission_manager_.get()) |
129 permission_manager_.reset(new CastPermissionManager()); | 129 permission_manager_.reset(new CastPermissionManager()); |
130 return permission_manager_.get(); | 130 return permission_manager_.get(); |
131 } | 131 } |
132 | 132 |
133 content::BackgroundSyncController* | 133 content::BackgroundSyncController* |
134 CastBrowserContext::GetBackgroundSyncController() { | 134 CastBrowserContext::GetBackgroundSyncController() { |
135 return nullptr; | 135 return nullptr; |
136 } | 136 } |
137 | 137 |
| 138 content::BrowsingDataRemoverDelegate* |
| 139 CastBrowserContext::GetBrowsingDataRemoverDelegate() { |
| 140 return nullptr; |
| 141 } |
| 142 |
138 net::URLRequestContextGetter* CastBrowserContext::CreateRequestContext( | 143 net::URLRequestContextGetter* CastBrowserContext::CreateRequestContext( |
139 content::ProtocolHandlerMap* protocol_handlers, | 144 content::ProtocolHandlerMap* protocol_handlers, |
140 content::URLRequestInterceptorScopedVector request_interceptors) { | 145 content::URLRequestInterceptorScopedVector request_interceptors) { |
141 return url_request_context_factory_->CreateMainGetter( | 146 return url_request_context_factory_->CreateMainGetter( |
142 this, protocol_handlers, std::move(request_interceptors)); | 147 this, protocol_handlers, std::move(request_interceptors)); |
143 } | 148 } |
144 | 149 |
145 net::URLRequestContextGetter* | 150 net::URLRequestContextGetter* |
146 CastBrowserContext::CreateRequestContextForStoragePartition( | 151 CastBrowserContext::CreateRequestContextForStoragePartition( |
147 const base::FilePath& partition_path, | 152 const base::FilePath& partition_path, |
148 bool in_memory, | 153 bool in_memory, |
149 content::ProtocolHandlerMap* protocol_handlers, | 154 content::ProtocolHandlerMap* protocol_handlers, |
150 content::URLRequestInterceptorScopedVector request_interceptors) { | 155 content::URLRequestInterceptorScopedVector request_interceptors) { |
151 return nullptr; | 156 return nullptr; |
152 } | 157 } |
153 | 158 |
154 net::URLRequestContextGetter* CastBrowserContext::CreateMediaRequestContext() { | 159 net::URLRequestContextGetter* CastBrowserContext::CreateMediaRequestContext() { |
155 return url_request_context_factory_->GetMediaGetter(); | 160 return url_request_context_factory_->GetMediaGetter(); |
156 } | 161 } |
157 | 162 |
158 net::URLRequestContextGetter* | 163 net::URLRequestContextGetter* |
159 CastBrowserContext::CreateMediaRequestContextForStoragePartition( | 164 CastBrowserContext::CreateMediaRequestContextForStoragePartition( |
160 const base::FilePath& partition_path, bool in_memory) { | 165 const base::FilePath& partition_path, bool in_memory) { |
161 return nullptr; | 166 return nullptr; |
162 } | 167 } |
163 | 168 |
164 } // namespace shell | 169 } // namespace shell |
165 } // namespace chromecast | 170 } // namespace chromecast |
OLD | NEW |