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

Unified Diff: content/browser/mojo/browser_shell_connection.cc

Issue 1978843003: Move in-GPU mojo:media app to new thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/mojo/browser_shell_connection.h ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/browser_shell_connection.cc
diff --git a/content/browser/mojo/browser_shell_connection.cc b/content/browser/mojo/browser_shell_connection.cc
index a39e8ee893e97e09b94fe5c730cb70f882fcbb2f..71e3bf3f368f8b4b56ff288cc9f3a3c4ec96d2ba 100644
--- a/content/browser/mojo/browser_shell_connection.cc
+++ b/content/browser/mojo/browser_shell_connection.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "content/browser/mojo/constants.h"
+#include "content/public/common/mojo_application_info.h"
#include "services/shell/public/interfaces/connector.mojom.h"
namespace content {
@@ -25,10 +26,9 @@ shell::Connector* BrowserShellConnection::GetConnector() {
void BrowserShellConnection::AddEmbeddedApplication(
const base::StringPiece& name,
- const EmbeddedApplicationRunner::FactoryCallback& callback,
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
+ const MojoApplicationInfo& info) {
std::unique_ptr<EmbeddedApplicationRunner> app(
- new EmbeddedApplicationRunner(callback, task_runner));
+ new EmbeddedApplicationRunner(name, info));
AddShellClientRequestHandler(
name, base::Bind(&EmbeddedApplicationRunner::BindShellClientRequest,
base::Unretained(app.get())));
« no previous file with comments | « content/browser/mojo/browser_shell_connection.h ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698