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

Unified Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 1382783002: Store USB device permissions in website settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address mlamouri@'s comments. Created 5 years, 1 month 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/permissions/chooser_context_base.cc ('k') | chrome/browser/usb/usb_chooser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index 0aecb24fda05c32330e5579cd088cc63de2d6b1b..d5f51d64972690ef7fab7105af8bdc7ab22bd520 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -125,6 +125,7 @@
#if !defined(OS_ANDROID)
#include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
#include "chrome/browser/ui/global_error/global_error_service_factory.h"
+#include "chrome/browser/usb/usb_chooser_context_factory.h"
#endif
#if defined(OS_WIN)
@@ -332,6 +333,9 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
#if defined(OS_WIN)
TriggeredProfileResetterFactory::GetInstance();
#endif
+#if !defined(OS_ANDROID)
+ UsbChooserContextFactory::GetInstance();
+#endif
WebDataServiceFactory::GetInstance();
}
« no previous file with comments | « chrome/browser/permissions/chooser_context_base.cc ('k') | chrome/browser/usb/usb_chooser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698