Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2477573002: [Presentation API] (3rd) (1-UA) Split PresentationServiceDelegateImpl(PSDImpl) (Closed)
Patch Set: resolve code review comments from Derek Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 BrowserContext* browser_context, 376 BrowserContext* browser_context,
377 const GURL& url) { 377 const GURL& url) {
378 return false; 378 return false;
379 } 379 }
380 380
381 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( 381 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext(
382 BrowserContext* browser_context) { 382 BrowserContext* browser_context) {
383 return base::GenerateGUID(); 383 return base::GenerateGUID();
384 } 384 }
385 385
386 PresentationServiceDelegate* 386 ControllerPresentationServiceDelegate*
387 ContentBrowserClient::GetPresentationServiceDelegate( 387 ContentBrowserClient::GetControllerPresentationServiceDelegate(
388 WebContents* web_contents) { 388 WebContents* web_contents) {
389 return nullptr; 389 return nullptr;
390 } 390 }
391
392 ReceiverPresentationServiceDelegate*
393 ContentBrowserClient::GetReceiverPresentationServiceDelegate(
394 WebContents* web_contents) {
395 return nullptr;
396 }
391 397
392 void ContentBrowserClient::OpenURL( 398 void ContentBrowserClient::OpenURL(
393 content::BrowserContext* browser_context, 399 content::BrowserContext* browser_context,
394 const content::OpenURLParams& params, 400 const content::OpenURLParams& params,
395 const base::Callback<void(content::WebContents*)>& callback) { 401 const base::Callback<void(content::WebContents*)>& callback) {
396 callback.Run(nullptr); 402 callback.Run(nullptr);
397 } 403 }
398 404
399 ScopedVector<NavigationThrottle> 405 ScopedVector<NavigationThrottle>
400 ContentBrowserClient::CreateThrottlesForNavigation( 406 ContentBrowserClient::CreateThrottlesForNavigation(
(...skipping 26 matching lines...) Expand all
427 const std::string& name) { 433 const std::string& name) {
428 return nullptr; 434 return nullptr;
429 } 435 }
430 436
431 std::unique_ptr<MemoryCoordinatorDelegate> 437 std::unique_ptr<MemoryCoordinatorDelegate>
432 ContentBrowserClient::GetMemoryCoordinatorDelegate() { 438 ContentBrowserClient::GetMemoryCoordinatorDelegate() {
433 return std::unique_ptr<MemoryCoordinatorDelegate>(); 439 return std::unique_ptr<MemoryCoordinatorDelegate>();
434 } 440 }
435 441
436 } // namespace content 442 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698