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

Unified Diff: chrome/browser/usb/usb_service_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/usb/usb_service_factory.h
diff --git a/chrome/browser/usb/usb_service_factory.h b/chrome/browser/usb/usb_service_factory.h
index 7a4b691e4ec19f6d700053e4b71063082e61647c..7ef21e6f98100ec89354280c21294c7c4d882b98 100644
--- a/chrome/browser/usb/usb_service_factory.h
+++ b/chrome/browser/usb/usb_service_factory.h
@@ -11,7 +11,7 @@
class Profile;
class UsbService;
-class UsbServiceFactory : public ProfileKeyedServiceFactory {
+class UsbServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static UsbService* GetForProfile(Profile* profile);
static bool HasUsbService(Profile* profile);
@@ -24,7 +24,7 @@ class UsbServiceFactory : public ProfileKeyedServiceFactory {
UsbServiceFactory();
virtual ~UsbServiceFactory();
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698