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

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

Issue 949293002: Implement a poor man's PostAfterStartupTask() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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 "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( 14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts(
15 const MainFunctionParams& parameters) { 15 const MainFunctionParams& parameters) {
16 return nullptr; 16 return nullptr;
17 } 17 }
18 18
19 void ContentBrowserClient::PostAfterStartupTask(
20 const tracked_objects::Location& from_here,
21 const scoped_refptr<base::TaskRunner>& task_runner,
22 const base::Closure& task) {
23 task_runner->PostTask(from_here, task);
24 }
25
19 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( 26 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate(
20 WebContents* web_contents) { 27 WebContents* web_contents) {
21 return nullptr; 28 return nullptr;
22 } 29 }
23 30
24 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, 31 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context,
25 const GURL& url) { 32 const GURL& url) {
26 return url; 33 return url;
27 } 34 }
28 35
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 367
361 #if defined(VIDEO_HOLE) 368 #if defined(VIDEO_HOLE)
362 ExternalVideoSurfaceContainer* 369 ExternalVideoSurfaceContainer*
363 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 370 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
364 WebContents* web_contents) { 371 WebContents* web_contents) {
365 return nullptr; 372 return nullptr;
366 } 373 }
367 #endif 374 #endif
368 375
369 } // namespace content 376 } // namespace content
OLDNEW
« content/public/browser/browser_thread.h ('K') | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698