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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2875633002: Remove code that deletes the PreReadFieldTrial registry key. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | 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 95d01520957668a957b46b1e97aca96b735ae44c..65f3961b4c5aaf9411006f48171c4bfb316d3a64 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -200,7 +200,6 @@
#if defined(OS_WIN)
#include "base/trace_event/trace_event_etw_export_win.h"
-#include "base/win/registry.h"
#include "base/win/win_util.h"
#include "chrome/browser/chrome_browser_main_win.h"
#include "chrome/browser/component_updater/sw_reporter_installer_win.h"
@@ -765,16 +764,6 @@ void ChromeBrowserMainParts::SetupFieldTrials() {
metrics::DesktopSessionDurationTracker::Initialize();
#endif
metrics::RendererUptimeTracker::Initialize();
-
-#if defined(OS_WIN)
- // Cleanup the PreRead field trial registry key.
- // TODO(fdoray): Remove this when M56 hits stable.
- const base::string16 pre_read_field_trial_registry_path =
- install_static::GetRegistryPath() + L"\\PreReadFieldTrial";
- base::win::RegKey(HKEY_CURRENT_USER,
- pre_read_field_trial_registry_path.c_str(), KEY_SET_VALUE)
- .DeleteKey(L"");
-#endif // defined(OS_WIN)
}
void ChromeBrowserMainParts::SetupMetrics() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698