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

Unified Diff: chrome/browser/download/download_status_updater_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
« no previous file with comments | « base/win/shortcut_unittest.cc ('k') | chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_status_updater_win.cc
diff --git a/chrome/browser/download/download_status_updater_win.cc b/chrome/browser/download/download_status_updater_win.cc
index 93a36f005c6c6d6d5f95496eca4853fe6ff03c5c..6f6b3d77a68429979d413f6ef0d4e3282898731e 100644
--- a/chrome/browser/download/download_status_updater_win.cc
+++ b/chrome/browser/download/download_status_updater_win.cc
@@ -10,7 +10,6 @@
#include "base/logging.h"
#include "base/win/scoped_comptr.h"
-#include "base/win/windows_version.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/browser_window.h"
@@ -21,10 +20,6 @@ namespace {
void UpdateTaskbarProgressBar(int download_count,
bool progress_known,
float progress) {
- // Taskbar progress bar is only supported on Win7.
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return;
-
base::win::ScopedComPtr<ITaskbarList3> taskbar;
HRESULT result = ::CoCreateInstance(
CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&taskbar));
« no previous file with comments | « base/win/shortcut_unittest.cc ('k') | chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698