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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 91 } |
92 | 92 |
93 void MockContentBrowserClient::AppendExtraCommandLineSwitches( | 93 void MockContentBrowserClient::AppendExtraCommandLineSwitches( |
94 CommandLine* command_line, int child_process_id) { | 94 CommandLine* command_line, int child_process_id) { |
95 } | 95 } |
96 | 96 |
97 std::string MockContentBrowserClient::GetApplicationLocale() { | 97 std::string MockContentBrowserClient::GetApplicationLocale() { |
98 return std::string(); | 98 return std::string(); |
99 } | 99 } |
100 | 100 |
101 std::string MockContentBrowserClient::GetAcceptLangs(const TabContents* tab) { | 101 std::string MockContentBrowserClient::GetAcceptLangs( |
| 102 const content::BrowserContext* context) { |
102 return std::string(); | 103 return std::string(); |
103 } | 104 } |
104 | 105 |
105 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() { | 106 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() { |
106 static SkBitmap empty; | 107 static SkBitmap empty; |
107 return ∅ | 108 return ∅ |
108 } | 109 } |
109 | 110 |
110 bool MockContentBrowserClient::AllowAppCache( | 111 bool MockContentBrowserClient::AllowAppCache( |
111 const GURL& manifest_url, const GURL& first_party, | 112 const GURL& manifest_url, const GURL& first_party, |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 #endif | 297 #endif |
297 | 298 |
298 #if defined(USE_NSS) | 299 #if defined(USE_NSS) |
299 crypto::CryptoModuleBlockingPasswordDelegate* | 300 crypto::CryptoModuleBlockingPasswordDelegate* |
300 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 301 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
301 return NULL; | 302 return NULL; |
302 } | 303 } |
303 #endif | 304 #endif |
304 | 305 |
305 } // namespace content | 306 } // namespace content |
OLD | NEW |