| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 BrowserContext* browser_context, | 369 BrowserContext* browser_context, |
| 370 const GURL& url) { | 370 const GURL& url) { |
| 371 return false; | 371 return false; |
| 372 } | 372 } |
| 373 | 373 |
| 374 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( | 374 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( |
| 375 BrowserContext* browser_context) { | 375 BrowserContext* browser_context) { |
| 376 return base::GenerateGUID(); | 376 return base::GenerateGUID(); |
| 377 } | 377 } |
| 378 | 378 |
| 379 PresentationServiceDelegate* | 379 ControllerPresentationServiceDelegate* |
| 380 ContentBrowserClient::GetPresentationServiceDelegate( | 380 ContentBrowserClient::GetControllerPresentationServiceDelegate( |
| 381 WebContents* web_contents) { | 381 WebContents* web_contents) { |
| 382 return nullptr; | 382 return nullptr; |
| 383 } | 383 } |
| 384 |
| 385 ReceiverPresentationServiceDelegate* |
| 386 ContentBrowserClient::GetReceiverPresentationServiceDelegate( |
| 387 WebContents* web_contents) { |
| 388 return nullptr; |
| 389 } |
| 384 | 390 |
| 385 void ContentBrowserClient::OpenURL( | 391 void ContentBrowserClient::OpenURL( |
| 386 content::BrowserContext* browser_context, | 392 content::BrowserContext* browser_context, |
| 387 const content::OpenURLParams& params, | 393 const content::OpenURLParams& params, |
| 388 const base::Callback<void(content::WebContents*)>& callback) { | 394 const base::Callback<void(content::WebContents*)>& callback) { |
| 389 callback.Run(nullptr); | 395 callback.Run(nullptr); |
| 390 } | 396 } |
| 391 | 397 |
| 392 ScopedVector<NavigationThrottle> | 398 ScopedVector<NavigationThrottle> |
| 393 ContentBrowserClient::CreateThrottlesForNavigation( | 399 ContentBrowserClient::CreateThrottlesForNavigation( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 420 const std::string& name) { | 426 const std::string& name) { |
| 421 return nullptr; | 427 return nullptr; |
| 422 } | 428 } |
| 423 | 429 |
| 424 std::unique_ptr<MemoryCoordinatorDelegate> | 430 std::unique_ptr<MemoryCoordinatorDelegate> |
| 425 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 431 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 426 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 432 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
| 427 } | 433 } |
| 428 | 434 |
| 429 } // namespace content | 435 } // namespace content |
| OLD | NEW |