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

Unified Diff: device/devices_app/public/cpp/devices_app_factory.cc

Issue 1371793004: Provide the DeviceManager service to the renderer directly, no app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_permission
Patch Set: Fix header inclusion in chrome_content_browser_client.cc. Created 5 years, 3 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
Index: device/devices_app/public/cpp/devices_app_factory.cc
diff --git a/device/devices_app/public/cpp/devices_app_factory.cc b/device/devices_app/public/cpp/devices_app_factory.cc
index ee85c097fe03bc6cbc5ce2c8f483503cf3ac23ba..a6ffe4e2a89118b9a9ec5865a8c406e1b0960e6e 100644
--- a/device/devices_app/public/cpp/devices_app_factory.cc
+++ b/device/devices_app/public/cpp/devices_app_factory.cc
@@ -9,10 +9,8 @@
namespace device {
// static
-scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp(
- scoped_refptr<base::SequencedTaskRunner> service_task_runner) {
- return scoped_ptr<mojo::ApplicationDelegate>(
- new DevicesApp(service_task_runner));
+scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp() {
+ return scoped_ptr<mojo::ApplicationDelegate>(new DevicesApp());
}
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698