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

Unified Diff: device/devices_app/devices_app.h

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/devices_app.h
diff --git a/device/devices_app/devices_app.h b/device/devices_app/devices_app.h
index cac12f4d7fcf9dc11b80e4c0e0b9e7c66372a4fe..aff78bcfcf53d31360b144578f02bc4e56d7af54 100644
--- a/device/devices_app/devices_app.h
+++ b/device/devices_app/devices_app.h
@@ -12,10 +12,6 @@
#include "mojo/application/public/cpp/application_delegate.h"
#include "mojo/application/public/cpp/interface_factory.h"
-namespace base {
-class SequencedTaskRunner;
-}
-
namespace mojo {
class ApplicationImpl;
}
@@ -29,8 +25,7 @@ class DeviceManager;
class DevicesApp : public mojo::ApplicationDelegate,
public mojo::InterfaceFactory<usb::DeviceManager> {
public:
- explicit DevicesApp(
- scoped_refptr<base::SequencedTaskRunner> service_task_runner);
+ explicit DevicesApp();
Ken Rockot(use gerrit already) 2015/09/28 22:23:14 nit: -explicit
Reilly Grant (use Gerrit) 2015/09/28 23:32:00 Done.
~DevicesApp() override;
private:
@@ -56,7 +51,6 @@ class DevicesApp : public mojo::ApplicationDelegate,
mojo::ApplicationImpl* app_impl_;
scoped_ptr<USBServiceInitializer> service_initializer_;
- scoped_refptr<base::SequencedTaskRunner> service_task_runner_;
size_t active_device_manager_count_;
// Callback used to shut down the app after a period of inactivity.

Powered by Google App Engine
This is Rietveld 408576698