| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 return NULL; | 243 return NULL; |
| 244 } | 244 } |
| 245 | 245 |
| 246 bool ContentBrowserClient::AllowPepperSocketAPI( | 246 bool ContentBrowserClient::AllowPepperSocketAPI( |
| 247 BrowserContext* browser_context, | 247 BrowserContext* browser_context, |
| 248 const GURL& url, | 248 const GURL& url, |
| 249 const SocketPermissionRequest& params) { | 249 const SocketPermissionRequest& params) { |
| 250 return false; | 250 return false; |
| 251 } | 251 } |
| 252 | 252 |
| 253 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { |
| 254 return false; |
| 255 } |
| 256 |
| 253 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { | 257 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { |
| 254 return FilePath(); | 258 return FilePath(); |
| 255 } | 259 } |
| 256 | 260 |
| 257 #if defined(OS_WIN) | 261 #if defined(OS_WIN) |
| 258 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 262 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
| 259 return NULL; | 263 return NULL; |
| 260 } | 264 } |
| 261 #endif | 265 #endif |
| 262 | 266 |
| 263 #if defined(USE_NSS) | 267 #if defined(USE_NSS) |
| 264 crypto::CryptoModuleBlockingPasswordDelegate* | 268 crypto::CryptoModuleBlockingPasswordDelegate* |
| 265 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 269 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 266 return NULL; | 270 return NULL; |
| 267 } | 271 } |
| 268 #endif | 272 #endif |
| 269 | 273 |
| 270 } // namespace content | 274 } // namespace content |
| OLD | NEW |