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

Unified Diff: components/metrics/drive_metrics_provider_win.cc

Issue 2909943003: Removing useless Win7 checks + standardize its use (Closed)
Patch Set: Fix reversed conditionnal 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
Index: components/metrics/drive_metrics_provider_win.cc
diff --git a/components/metrics/drive_metrics_provider_win.cc b/components/metrics/drive_metrics_provider_win.cc
index 360b80e690a55c3e22aea6bb21a811a781b969d4..04647a9d41bb5a16754bd60cd6f1f0900980bf61 100644
--- a/components/metrics/drive_metrics_provider_win.cc
+++ b/components/metrics/drive_metrics_provider_win.cc
@@ -11,18 +11,12 @@
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/strings/stringprintf.h"
-#include "base/win/windows_version.h"
namespace metrics {
// static
bool DriveMetricsProvider::HasSeekPenalty(const base::FilePath& path,
bool* has_seek_penalty) {
- if (base::win::GetVersion() < base::win::VERSION_WIN7) {
- // TODO(dbeam): re-enable XP and Vista detection in a utility process.
- return false;
- }
-
std::vector<base::FilePath::StringType> components;
path.GetComponents(&components);

Powered by Google App Engine
This is Rietveld 408576698