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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 10161035: Adding UsbService and UsbDevice constructs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 755105021c060917dd4d04ec415ca09453c7ac9a..3c56fd9d236e4b8c16f14e28f08103b2b294aa9c 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -18,6 +18,7 @@
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_impl_io_data.h"
+#include "chrome/browser/usb/usb_service.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -113,6 +114,10 @@ class ProfileImpl : public Profile,
virtual GURL GetHomePage() OVERRIDE;
virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
+#if !defined(OS_ANDROID)
+ virtual UsbService *GetUsbService() OVERRIDE;
+#endif // !defined(OS_ANDROID)
+
#if defined(OS_CHROMEOS)
virtual void ChangeAppLocale(const std::string& locale,
AppLocaleChangedVia) OVERRIDE;
@@ -220,6 +225,7 @@ class ProfileImpl : public Profile,
scoped_refptr<HistoryService> history_service_;
scoped_ptr<FaviconService> favicon_service_;
scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
+ scoped_ptr<UsbService> usb_service_;
Elliot Glaysher 2012/04/25 21:10:20 NACK. This exactly the sort of thing we're trying
Garret Kelly 2012/04/25 21:15:17 Oops! My mistake. Thank you for the pointer. Fixin
miket_OOO 2012/04/25 21:24:36 Shouldn't this (and the include) be guarded with t
scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
scoped_refptr<WebDataService> web_data_service_;
bool history_service_created_;

Powered by Google App Engine
This is Rietveld 408576698