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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2274303002: Enable the WebUSB Origin Trial. (Closed)
Patch Set: Revert update to global-interface-listing-expected.txt. Created 4 years, 4 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 | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index a0600754d5bbddbcdfdc38ae6995e5e3e9248ee4..adc1045e14c3a1dbb54927da2a17b6d4026c00a1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1542,14 +1542,8 @@ void ChromeBrowserMainParts::PostBrowserStart() {
#endif // defined(ENABLE_WEBRTC)
#if !defined(OS_ANDROID)
- // WebUSB is an experimental web API. The sites these notifications will link
- // to will only work if the experiment is enabled and WebUSB feature is
- // enabled.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableExperimentalWebPlatformFeatures) &&
- base::FeatureList::IsEnabled(features::kWebUsb)) {
+ if (base::FeatureList::IsEnabled(features::kWebUsb))
web_usb_detector_.reset(new WebUsbDetector());
- }
#endif
// At this point, StartupBrowserCreator::Start has run creating initial
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698