| 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/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "content/shell/shell.h" | 9 #include "content/shell/shell.h" |
| 10 #include "content/shell/shell_browser_main.h" | 10 #include "content/shell/shell_browser_main.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 } | 307 } |
| 308 | 308 |
| 309 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { | 309 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { |
| 310 return FilePath(); | 310 return FilePath(); |
| 311 } | 311 } |
| 312 | 312 |
| 313 std::string ShellContentBrowserClient::GetDefaultDownloadName() { | 313 std::string ShellContentBrowserClient::GetDefaultDownloadName() { |
| 314 return "download"; | 314 return "download"; |
| 315 } | 315 } |
| 316 | 316 |
| 317 bool ShellContentBrowserClient::AllowSocketAPI(const GURL& url) { |
| 318 return false; |
| 319 } |
| 320 |
| 317 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 321 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 318 int ShellContentBrowserClient::GetCrashSignalFD( | 322 int ShellContentBrowserClient::GetCrashSignalFD( |
| 319 const CommandLine& command_line) { | 323 const CommandLine& command_line) { |
| 320 return -1; | 324 return -1; |
| 321 } | 325 } |
| 322 #endif | 326 #endif |
| 323 | 327 |
| 324 #if defined(OS_WIN) | 328 #if defined(OS_WIN) |
| 325 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { | 329 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { |
| 326 return NULL; | 330 return NULL; |
| 327 } | 331 } |
| 328 #endif | 332 #endif |
| 329 | 333 |
| 330 #if defined(USE_NSS) | 334 #if defined(USE_NSS) |
| 331 crypto::CryptoModuleBlockingPasswordDelegate* | 335 crypto::CryptoModuleBlockingPasswordDelegate* |
| 332 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 336 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 333 return NULL; | 337 return NULL; |
| 334 } | 338 } |
| 335 #endif | 339 #endif |
| 336 | 340 |
| 337 } // namespace content | 341 } // namespace content |
| OLD | NEW |