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/files/file_path.h" | 7 #include "base/files/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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 256 } |
257 | 257 |
258 bool ContentBrowserClient::SupportsBrowserPlugin( | 258 bool ContentBrowserClient::SupportsBrowserPlugin( |
259 BrowserContext* browser_context, const GURL& site_url) { | 259 BrowserContext* browser_context, const GURL& site_url) { |
260 return false; | 260 return false; |
261 } | 261 } |
262 | 262 |
263 bool ContentBrowserClient::AllowPepperSocketAPI( | 263 bool ContentBrowserClient::AllowPepperSocketAPI( |
264 BrowserContext* browser_context, | 264 BrowserContext* browser_context, |
265 const GURL& url, | 265 const GURL& url, |
| 266 bool private_api, |
266 const SocketPermissionRequest& params) { | 267 const SocketPermissionRequest& params) { |
267 return false; | 268 return false; |
268 } | 269 } |
269 | 270 |
270 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { | 271 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { |
271 return base::FilePath(); | 272 return base::FilePath(); |
272 } | 273 } |
273 | 274 |
274 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 275 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
275 WebContents* web_contents) { | 276 WebContents* web_contents) { |
(...skipping 11 matching lines...) Expand all Loading... |
287 #endif | 288 #endif |
288 | 289 |
289 #if defined(USE_NSS) | 290 #if defined(USE_NSS) |
290 crypto::CryptoModuleBlockingPasswordDelegate* | 291 crypto::CryptoModuleBlockingPasswordDelegate* |
291 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 292 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
292 return NULL; | 293 return NULL; |
293 } | 294 } |
294 #endif | 295 #endif |
295 | 296 |
296 } // namespace content | 297 } // namespace content |
OLD | NEW |