| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 BrowserContext* browser_context, | 366 BrowserContext* browser_context, |
| 367 const GURL& url) { | 367 const GURL& url) { |
| 368 return false; | 368 return false; |
| 369 } | 369 } |
| 370 | 370 |
| 371 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( | 371 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( |
| 372 BrowserContext* browser_context) { | 372 BrowserContext* browser_context) { |
| 373 return base::GenerateGUID(); | 373 return base::GenerateGUID(); |
| 374 } | 374 } |
| 375 | 375 |
| 376 PresentationServiceDelegate* | 376 ControllerPresentationServiceDelegate* |
| 377 ContentBrowserClient::GetPresentationServiceDelegate( | 377 ContentBrowserClient::GetControllerPresentationServiceDelegate( |
| 378 WebContents* web_contents) { | 378 WebContents* web_contents) { |
| 379 return nullptr; | 379 return nullptr; |
| 380 } | 380 } |
| 381 |
| 382 ReceiverPresentationServiceDelegate* |
| 383 ContentBrowserClient::GetReceiverPresentationServiceDelegate( |
| 384 WebContents* web_contents) { |
| 385 return nullptr; |
| 386 } |
| 381 | 387 |
| 382 void ContentBrowserClient::OpenURL( | 388 void ContentBrowserClient::OpenURL( |
| 383 content::BrowserContext* browser_context, | 389 content::BrowserContext* browser_context, |
| 384 const content::OpenURLParams& params, | 390 const content::OpenURLParams& params, |
| 385 const base::Callback<void(content::WebContents*)>& callback) { | 391 const base::Callback<void(content::WebContents*)>& callback) { |
| 386 callback.Run(nullptr); | 392 callback.Run(nullptr); |
| 387 } | 393 } |
| 388 | 394 |
| 389 ScopedVector<NavigationThrottle> | 395 ScopedVector<NavigationThrottle> |
| 390 ContentBrowserClient::CreateThrottlesForNavigation( | 396 ContentBrowserClient::CreateThrottlesForNavigation( |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 440 |
| 435 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 441 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 436 return false; | 442 return false; |
| 437 } | 443 } |
| 438 | 444 |
| 439 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 445 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 440 return false; | 446 return false; |
| 441 } | 447 } |
| 442 | 448 |
| 443 } // namespace content | 449 } // namespace content |
| OLD | NEW |