| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/mock_content_browser_client.h" | 5 #include "content/browser/mock_content_browser_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 95 } |
| 96 | 96 |
| 97 void MockContentBrowserClient::AppendExtraCommandLineSwitches( | 97 void MockContentBrowserClient::AppendExtraCommandLineSwitches( |
| 98 CommandLine* command_line, int child_process_id) { | 98 CommandLine* command_line, int child_process_id) { |
| 99 } | 99 } |
| 100 | 100 |
| 101 std::string MockContentBrowserClient::GetApplicationLocale() { | 101 std::string MockContentBrowserClient::GetApplicationLocale() { |
| 102 return std::string(); | 102 return std::string(); |
| 103 } | 103 } |
| 104 | 104 |
| 105 std::string MockContentBrowserClient::GetAcceptLangs(const TabContents* tab) { | 105 std::string MockContentBrowserClient::GetAcceptLangs( |
| 106 content::BrowserContext* context) { |
| 106 return std::string(); | 107 return std::string(); |
| 107 } | 108 } |
| 108 | 109 |
| 109 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() { | 110 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() { |
| 110 static SkBitmap empty; | 111 static SkBitmap empty; |
| 111 return ∅ | 112 return ∅ |
| 112 } | 113 } |
| 113 | 114 |
| 114 bool MockContentBrowserClient::AllowAppCache( | 115 bool MockContentBrowserClient::AllowAppCache( |
| 115 const GURL& manifest_url, const GURL& first_party, | 116 const GURL& manifest_url, const GURL& first_party, |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 #endif | 318 #endif |
| 318 | 319 |
| 319 #if defined(USE_NSS) | 320 #if defined(USE_NSS) |
| 320 crypto::CryptoModuleBlockingPasswordDelegate* | 321 crypto::CryptoModuleBlockingPasswordDelegate* |
| 321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 322 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 322 return NULL; | 323 return NULL; |
| 323 } | 324 } |
| 324 #endif | 325 #endif |
| 325 | 326 |
| 326 } // namespace content | 327 } // namespace content |
| OLD | NEW |