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