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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 } | 317 } |
318 | 318 |
319 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { | 319 FilePath ShellContentBrowserClient::GetDefaultDownloadDirectory() { |
320 return FilePath(); | 320 return FilePath(); |
321 } | 321 } |
322 | 322 |
323 std::string ShellContentBrowserClient::GetDefaultDownloadName() { | 323 std::string ShellContentBrowserClient::GetDefaultDownloadName() { |
324 return "download"; | 324 return "download"; |
325 } | 325 } |
326 | 326 |
327 bool ShellContentBrowserClient::AllowSocketAPI(const GURL& url) { | 327 bool ShellContentBrowserClient::AllowSocketAPI(BrowserContext* browser_context, |
| 328 const GURL& url) { |
328 return false; | 329 return false; |
329 } | 330 } |
330 | 331 |
331 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 332 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
332 int ShellContentBrowserClient::GetCrashSignalFD( | 333 int ShellContentBrowserClient::GetCrashSignalFD( |
333 const CommandLine& command_line) { | 334 const CommandLine& command_line) { |
334 return -1; | 335 return -1; |
335 } | 336 } |
336 #endif | 337 #endif |
337 | 338 |
338 #if defined(OS_WIN) | 339 #if defined(OS_WIN) |
339 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { | 340 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { |
340 return NULL; | 341 return NULL; |
341 } | 342 } |
342 #endif | 343 #endif |
343 | 344 |
344 #if defined(USE_NSS) | 345 #if defined(USE_NSS) |
345 crypto::CryptoModuleBlockingPasswordDelegate* | 346 crypto::CryptoModuleBlockingPasswordDelegate* |
346 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 347 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
347 return NULL; | 348 return NULL; |
348 } | 349 } |
349 #endif | 350 #endif |
350 | 351 |
351 } // namespace content | 352 } // namespace content |
OLD | NEW |