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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 int renderer_child_id) { | 109 int renderer_child_id) { |
110 return GetMediaRequestContext(); | 110 return GetMediaRequestContext(); |
111 } | 111 } |
112 | 112 |
113 net::URLRequestContextGetter* | 113 net::URLRequestContextGetter* |
114 CastBrowserContext::GetMediaRequestContextForStoragePartition( | 114 CastBrowserContext::GetMediaRequestContextForStoragePartition( |
115 const base::FilePath& partition_path, bool in_memory) { | 115 const base::FilePath& partition_path, bool in_memory) { |
116 return GetMediaRequestContext(); | 116 return GetMediaRequestContext(); |
117 } | 117 } |
118 | 118 |
| 119 net::URLRequestContextGetter* CastBrowserContext::GetSystemRequestContext() { |
| 120 return url_request_context_factory_->GetSystemGetter(); |
| 121 } |
| 122 |
119 content::ResourceContext* CastBrowserContext::GetResourceContext() { | 123 content::ResourceContext* CastBrowserContext::GetResourceContext() { |
120 return resource_context_.get(); | 124 return resource_context_.get(); |
121 } | 125 } |
122 | 126 |
123 content::DownloadManagerDelegate* | 127 content::DownloadManagerDelegate* |
124 CastBrowserContext::GetDownloadManagerDelegate() { | 128 CastBrowserContext::GetDownloadManagerDelegate() { |
125 return download_manager_delegate_.get(); | 129 return download_manager_delegate_.get(); |
126 } | 130 } |
127 | 131 |
128 content::BrowserPluginGuestManager* CastBrowserContext::GetGuestManager() { | 132 content::BrowserPluginGuestManager* CastBrowserContext::GetGuestManager() { |
(...skipping 11 matching lines...) Expand all Loading... |
140 return NULL; | 144 return NULL; |
141 } | 145 } |
142 | 146 |
143 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() { | 147 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() { |
144 NOTIMPLEMENTED(); | 148 NOTIMPLEMENTED(); |
145 return NULL; | 149 return NULL; |
146 } | 150 } |
147 | 151 |
148 } // namespace shell | 152 } // namespace shell |
149 } // namespace chromecast | 153 } // namespace chromecast |
OLD | NEW |