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

Unified Diff: chrome/browser/chrome_device_client.h

Issue 1314273002: Manage UsbService lifetime in DeviceClient implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | chrome/browser/chrome_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_device_client.h
diff --git a/chrome/browser/chrome_device_client.h b/chrome/browser/chrome_device_client.h
index 1cd401f7a9dc7476b958e8ea2d480c20afdb4bbc..f8db0f2dcd21ff92ace5e8b9f52a4a46f9bb0c00 100644
--- a/chrome/browser/chrome_device_client.h
+++ b/chrome/browser/chrome_device_client.h
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
// Implementation of device::DeviceClient that returns //device service
// singletons appropriate for use within the Chrome application.
@@ -22,6 +23,8 @@ class ChromeDeviceClient : device::DeviceClient {
device::HidService* GetHidService() override;
private:
+ scoped_ptr<device::UsbService> usb_service_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
};
« no previous file with comments | « no previous file | chrome/browser/chrome_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698