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

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, 8 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 344
338 #if defined(VIDEO_HOLE) 345 #if defined(VIDEO_HOLE)
339 ExternalVideoSurfaceContainer* 346 ExternalVideoSurfaceContainer*
340 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
341 WebContents* web_contents) { 348 WebContents* web_contents) {
342 return nullptr; 349 return nullptr;
343 } 350 }
344 #endif 351 #endif
345 352
346 } // namespace content 353 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698