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 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; | 165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; |
166 void GetAdditionalMappedFilesForChildProcess( | 166 void GetAdditionalMappedFilesForChildProcess( |
167 const base::CommandLine& command_line, | 167 const base::CommandLine& command_line, |
168 int child_process_id, | 168 int child_process_id, |
169 content::FileDescriptorInfo* mappings) override; | 169 content::FileDescriptorInfo* mappings) override; |
170 #endif // defined(OS_ANDROID) | 170 #endif // defined(OS_ANDROID) |
171 void GetAdditionalWebUISchemes( | 171 void GetAdditionalWebUISchemes( |
172 std::vector<std::string>* additional_schemes) override; | 172 std::vector<std::string>* additional_schemes) override; |
173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
174 | 174 |
| 175 // TODO |
| 176 // void GetTemporaryStorageConfiguration( |
| 177 // content::BrowserContext* context, |
| 178 // const base::FilePath& partition_path, bool is_incognito, |
| 179 // const storage::TemporaryStorageConfigurationCallback& callback)override; |
| 180 |
175 protected: | 181 protected: |
176 CastContentBrowserClient(); | 182 CastContentBrowserClient(); |
177 | 183 |
178 URLRequestContextFactory* url_request_context_factory() const { | 184 URLRequestContextFactory* url_request_context_factory() const { |
179 return url_request_context_factory_.get(); | 185 return url_request_context_factory_.get(); |
180 } | 186 } |
181 | 187 |
182 private: | 188 private: |
183 void AddNetworkHintsMessageFilter(int render_process_id, | 189 void AddNetworkHintsMessageFilter(int render_process_id, |
184 net::URLRequestContext* context); | 190 net::URLRequestContext* context); |
(...skipping 18 matching lines...) Expand all Loading... |
203 CastBrowserMainParts* cast_browser_main_parts_; | 209 CastBrowserMainParts* cast_browser_main_parts_; |
204 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 210 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
205 | 211 |
206 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 212 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
207 }; | 213 }; |
208 | 214 |
209 } // namespace shell | 215 } // namespace shell |
210 } // namespace chromecast | 216 } // namespace chromecast |
211 | 217 |
212 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 218 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |