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

Unified Diff: components/metrics/drive_metrics_provider_win.cc

Issue 2909943003: Removing useless Win7 checks + standardize its use (Closed)
Patch Set: Various nits 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);
« no previous file with comments | « cloud_print/virtual_driver/win/install/setup.cc ('k') | content/browser/renderer_host/legacy_render_widget_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698