OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { | 227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { |
228 return FilePath(); | 228 return FilePath(); |
229 } | 229 } |
230 | 230 |
231 std::string ContentBrowserClient::GetDefaultDownloadName() { | 231 std::string ContentBrowserClient::GetDefaultDownloadName() { |
232 return std::string(); | 232 return std::string(); |
233 } | 233 } |
234 | 234 |
235 bool ContentBrowserClient::AllowPepperSocketAPI( | 235 bool ContentBrowserClient::AllowPepperSocketAPI( |
236 BrowserContext* browser_context, const GURL& url) { | 236 BrowserContext* browser_context, |
| 237 const GURL& url, |
| 238 const SocketPermissionParam& params) { |
237 return false; | 239 return false; |
238 } | 240 } |
239 | 241 |
240 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { | 242 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { |
241 return false; | 243 return false; |
242 } | 244 } |
243 | 245 |
244 #if defined(OS_WIN) | 246 #if defined(OS_WIN) |
245 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 247 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
246 return NULL; | 248 return NULL; |
247 } | 249 } |
248 #endif | 250 #endif |
249 | 251 |
250 #if defined(USE_NSS) | 252 #if defined(USE_NSS) |
251 crypto::CryptoModuleBlockingPasswordDelegate* | 253 crypto::CryptoModuleBlockingPasswordDelegate* |
252 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 254 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
253 return NULL; | 255 return NULL; |
254 } | 256 } |
255 #endif | 257 #endif |
256 | 258 |
257 } // namespace content | 259 } // namespace content |
OLD | NEW |