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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { | 227 FilePath ContentBrowserClient::GetDefaultDownloadDirectory() { |
228 return FilePath(); | 228 return FilePath(); |
229 } | 229 } |
230 | 230 |
231 std::string ContentBrowserClient::GetDefaultDownloadName() { | 231 std::string ContentBrowserClient::GetDefaultDownloadName() { |
232 return std::string(); | 232 return std::string(); |
233 } | 233 } |
234 | 234 |
235 bool ContentBrowserClient::AllowPepperSocketAPI( | 235 bool ContentBrowserClient::AllowPepperSocketAPI( |
236 BrowserContext* browser_context, const GURL& url) { | 236 BrowserContext* browser_context, |
| 237 const GURL& url, |
| 238 const SocketPermissionRequest& params) { |
237 return false; | 239 return false; |
238 } | 240 } |
239 | 241 |
240 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { | 242 bool ContentBrowserClient::AllowPepperPrivateFileAPI() { |
241 return false; | 243 return false; |
242 } | 244 } |
243 | 245 |
244 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { | 246 FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { |
245 return FilePath(); | 247 return FilePath(); |
246 } | 248 } |
247 | 249 |
248 #if defined(OS_WIN) | 250 #if defined(OS_WIN) |
249 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 251 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
250 return NULL; | 252 return NULL; |
251 } | 253 } |
252 #endif | 254 #endif |
253 | 255 |
254 #if defined(USE_NSS) | 256 #if defined(USE_NSS) |
255 crypto::CryptoModuleBlockingPasswordDelegate* | 257 crypto::CryptoModuleBlockingPasswordDelegate* |
256 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 258 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
257 return NULL; | 259 return NULL; |
258 } | 260 } |
259 #endif | 261 #endif |
260 | 262 |
261 } // namespace content | 263 } // namespace content |
OLD | NEW |