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 | |
257 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { | 253 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { |
258 return FilePath(); | 254 return FilePath(); |
259 } | 255 } |
260 | 256 |
261 #if defined(OS_WIN) | 257 #if defined(OS_WIN) |
262 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 258 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
263 return NULL; | 259 return NULL; |
264 } | 260 } |
265 #endif | 261 #endif |
266 | 262 |
267 #if defined(USE_NSS) | 263 #if defined(USE_NSS) |
268 crypto::CryptoModuleBlockingPasswordDelegate* | 264 crypto::CryptoModuleBlockingPasswordDelegate* |
269 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 265 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
270 return NULL; | 266 return NULL; |
271 } | 267 } |
272 #endif | 268 #endif |
273 | 269 |
274 } // namespace content | 270 } // namespace content |
OLD | NEW |