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

Unified Diff: chrome/browser/profiles/profile.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.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 3492d9b19313f64dc11e33078bf4e46944db968d..feb643cde09e572eff8040ee75e6c8f150b39843 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -36,6 +36,7 @@ class PrefService;
class PromoCounter;
class ProtocolHandlerRegistry;
class TestingProfile;
+class UsbService;
class UserScriptMaster;
class VisitedLinkMaster;
class WebDataService;
@@ -395,6 +396,11 @@ class Profile : public content::BrowserContext {
// more recent (or equal to) the one specified.
virtual bool WasCreatedByVersionOrLater(const std::string& version) = 0;
+#if !defined(OS_ANDROID)
sail 2012/04/25 21:06:36 it's a bad idea to have #ifdefs in code. The gener
+ // Returns or creates and returns an instance of the UsbService.
miket_OOO 2012/04/25 21:24:36 This is a minor point, but the "or creates and ret
+ virtual UsbService* GetUsbService() = 0;
+#endif // !defined(OS_ANDROID)
+
std::string GetDebugName();
// Returns whether it is a guest session.

Powered by Google App Engine
This is Rietveld 408576698