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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 26 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
27 const MainFunctionParams& parameters) { | 27 const MainFunctionParams& parameters) { |
28 return nullptr; | 28 return nullptr; |
29 } | 29 } |
30 | 30 |
31 void ContentBrowserClient::PostAfterStartupTask( | 31 void ContentBrowserClient::PostAfterStartupTask( |
32 const tracked_objects::Location& from_here, | 32 const tracked_objects::Location& from_here, |
33 const scoped_refptr<base::TaskRunner>& task_runner, | 33 const scoped_refptr<base::TaskRunner>& task_runner, |
34 base::Closure task) { | 34 base::OnceClosure task) { |
35 task_runner->PostTask(from_here, std::move(task)); | 35 task_runner->PostTask(from_here, std::move(task)); |
36 } | 36 } |
37 | 37 |
38 bool ContentBrowserClient::IsBrowserStartupComplete() { | 38 bool ContentBrowserClient::IsBrowserStartupComplete() { |
39 return true; | 39 return true; |
40 } | 40 } |
41 | 41 |
42 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 42 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
43 WebContents* web_contents) { | 43 WebContents* web_contents) { |
44 return nullptr; | 44 return nullptr; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 | 455 |
456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
457 return false; | 457 return false; |
458 } | 458 } |
459 | 459 |
460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
461 return false; | 461 return false; |
462 } | 462 } |
463 | 463 |
464 } // namespace content | 464 } // namespace content |
OLD | NEW |