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

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

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 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
« no previous file with comments | « chrome/browser/usb/usb_service_factory.h ('k') | chrome/browser/user_style_sheet_watcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/usb_service_factory.cc
diff --git a/chrome/browser/usb/usb_service_factory.cc b/chrome/browser/usb/usb_service_factory.cc
index 823d582d7e0c75f618a946b01ea877056deb73bd..6b91c193e8516f52a2a87d4e8ce02acf6e96f2ab 100644
--- a/chrome/browser/usb/usb_service_factory.cc
+++ b/chrome/browser/usb/usb_service_factory.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/usb/usb_service_factory.h"
#include "base/memory/singleton.h"
+#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_dependency_manager.h"
#include "chrome/browser/usb/usb_service.h"
@@ -23,6 +24,6 @@ UsbServiceFactory::UsbServiceFactory() : ProfileKeyedServiceFactory(
UsbServiceFactory::~UsbServiceFactory() {}
ProfileKeyedService* UsbServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
+ content::BrowserContext* profile) const {
return new UsbService();
}
« no previous file with comments | « chrome/browser/usb/usb_service_factory.h ('k') | chrome/browser/user_style_sheet_watcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698