| 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/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 | 275 |
| 276 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 276 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 277 WebContents* web_contents) { | 277 WebContents* web_contents) { |
| 278 return NULL; | 278 return NULL; |
| 279 } | 279 } |
| 280 | 280 |
| 281 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 281 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 282 return NULL; | 282 return NULL; |
| 283 } | 283 } |
| 284 | 284 |
| 285 bool ContentBrowserClient::ShouldKillChildProcessOnBadMessage() { |
| 286 return true; |
| 287 } |
| 288 |
| 285 #if defined(OS_WIN) | 289 #if defined(OS_WIN) |
| 286 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 290 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
| 287 return NULL; | 291 return NULL; |
| 288 } | 292 } |
| 289 #endif | 293 #endif |
| 290 | 294 |
| 291 #if defined(USE_NSS) | 295 #if defined(USE_NSS) |
| 292 crypto::CryptoModuleBlockingPasswordDelegate* | 296 crypto::CryptoModuleBlockingPasswordDelegate* |
| 293 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 297 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 294 return NULL; | 298 return NULL; |
| 295 } | 299 } |
| 296 #endif | 300 #endif |
| 297 | 301 |
| 298 } // namespace content | 302 } // namespace content |
| OLD | NEW |