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( |
328 content::BrowserContext* browser_context, | |
jam
2012/03/01 06:21:26
ditto
Dmitry Polukhin
2012/03/01 06:36:05
Done.
| |
329 const GURL& url) { | |
328 return false; | 330 return false; |
329 } | 331 } |
330 | 332 |
331 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 333 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
332 int ShellContentBrowserClient::GetCrashSignalFD( | 334 int ShellContentBrowserClient::GetCrashSignalFD( |
333 const CommandLine& command_line) { | 335 const CommandLine& command_line) { |
334 return -1; | 336 return -1; |
335 } | 337 } |
336 #endif | 338 #endif |
337 | 339 |
338 #if defined(OS_WIN) | 340 #if defined(OS_WIN) |
339 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { | 341 const wchar_t* ShellContentBrowserClient::GetResourceDllName() { |
340 return NULL; | 342 return NULL; |
341 } | 343 } |
342 #endif | 344 #endif |
343 | 345 |
344 #if defined(USE_NSS) | 346 #if defined(USE_NSS) |
345 crypto::CryptoModuleBlockingPasswordDelegate* | 347 crypto::CryptoModuleBlockingPasswordDelegate* |
346 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 348 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
347 return NULL; | 349 return NULL; |
348 } | 350 } |
349 #endif | 351 #endif |
350 | 352 |
351 } // namespace content | 353 } // namespace content |
OLD | NEW |