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

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: Remove UsbPermissionContext and add ChooserPermissionContext helper functions. Created 5 years, 2 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/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 8504b44a68e2bcec3cdacf7801f465bc80fdd01f..bc169a5410a591a58fa458bf94f09777a44057a7 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_permission_context_factory.h"
#endif
#if defined(OS_WIN)
@@ -332,6 +333,9 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
#if defined(OS_WIN)
TriggeredProfileResetterFactory::GetInstance();
#endif
+#if !defined(OS_ANDROID)
+ UsbChooserPermissionContextFactory::GetInstance();
+#endif
WebDataServiceFactory::GetInstance();
}

Powered by Google App Engine
This is Rietveld 408576698