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 "base/guid.h" | 8 #include "base/guid.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 BrowserContext* browser_context, | 377 BrowserContext* browser_context, |
378 const GURL& url) { | 378 const GURL& url) { |
379 return false; | 379 return false; |
380 } | 380 } |
381 | 381 |
382 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( | 382 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( |
383 BrowserContext* browser_context) { | 383 BrowserContext* browser_context) { |
384 return base::GenerateGUID(); | 384 return base::GenerateGUID(); |
385 } | 385 } |
386 | 386 |
387 PresentationServiceDelegate* | 387 ControllerPresentationServiceDelegate* |
388 ContentBrowserClient::GetPresentationServiceDelegate( | 388 ContentBrowserClient::GetControllerPresentationServiceDelegate( |
389 WebContents* web_contents) { | 389 WebContents* web_contents) { |
390 return nullptr; | 390 return nullptr; |
391 } | 391 } |
| 392 |
| 393 ReceiverPresentationServiceDelegate* |
| 394 ContentBrowserClient::GetReceiverPresentationServiceDelegate( |
| 395 WebContents* web_contents) { |
| 396 return nullptr; |
| 397 } |
392 | 398 |
393 void ContentBrowserClient::OpenURL( | 399 void ContentBrowserClient::OpenURL( |
394 content::BrowserContext* browser_context, | 400 content::BrowserContext* browser_context, |
395 const content::OpenURLParams& params, | 401 const content::OpenURLParams& params, |
396 const base::Callback<void(content::WebContents*)>& callback) { | 402 const base::Callback<void(content::WebContents*)>& callback) { |
397 callback.Run(nullptr); | 403 callback.Run(nullptr); |
398 } | 404 } |
399 | 405 |
400 ScopedVector<NavigationThrottle> | 406 ScopedVector<NavigationThrottle> |
401 ContentBrowserClient::CreateThrottlesForNavigation( | 407 ContentBrowserClient::CreateThrottlesForNavigation( |
(...skipping 30 matching lines...) Expand all Loading... |
432 std::unique_ptr<MemoryCoordinatorDelegate> | 438 std::unique_ptr<MemoryCoordinatorDelegate> |
433 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 439 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
434 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 440 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
435 } | 441 } |
436 | 442 |
437 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 443 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
438 return nullptr; | 444 return nullptr; |
439 } | 445 } |
440 | 446 |
441 } // namespace content | 447 } // namespace content |
OLD | NEW |