| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 if (!permission_manager_.get()) | 147 if (!permission_manager_.get()) |
| 148 permission_manager_.reset(new CastPermissionManager()); | 148 permission_manager_.reset(new CastPermissionManager()); |
| 149 return permission_manager_.get(); | 149 return permission_manager_.get(); |
| 150 } | 150 } |
| 151 | 151 |
| 152 content::BackgroundSyncController* | 152 content::BackgroundSyncController* |
| 153 CastBrowserContext::GetBackgroundSyncController() { | 153 CastBrowserContext::GetBackgroundSyncController() { |
| 154 return nullptr; | 154 return nullptr; |
| 155 } | 155 } |
| 156 | 156 |
| 157 net::URLRequestContextGetter* CastBrowserContext::CreateRequestContext( |
| 158 content::ProtocolHandlerMap* protocol_handlers, |
| 159 content::URLRequestInterceptorScopedVector request_interceptors) { |
| 160 return url_request_context_factory_->CreateMainGetter( |
| 161 this, protocol_handlers, std::move(request_interceptors)); |
| 162 } |
| 163 |
| 164 net::URLRequestContextGetter* |
| 165 CastBrowserContext::CreateRequestContextForStoragePartition( |
| 166 const base::FilePath& partition_path, |
| 167 bool in_memory, |
| 168 content::ProtocolHandlerMap* protocol_handlers, |
| 169 content::URLRequestInterceptorScopedVector request_interceptors) { |
| 170 return nullptr; |
| 171 } |
| 172 |
| 157 } // namespace shell | 173 } // namespace shell |
| 158 } // namespace chromecast | 174 } // namespace chromecast |
| OLD | NEW |