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

Unified Diff: chrome/browser/win/jumplist_updater.cc

Issue 2831433003: Time out jumplist update for very slow or busy OS (Closed)
Patch Set: Remove myself from being an owner and remove Windows version check Created 3 years, 8 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 | « chrome/browser/win/jumplist.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/win/jumplist_updater.cc
diff --git a/chrome/browser/win/jumplist_updater.cc b/chrome/browser/win/jumplist_updater.cc
index 4265de1163585780f4e92e68c2a78a10b629006d..c6ad77d3a4073b0afb16e59e18c435dd0307bb04 100644
--- a/chrome/browser/win/jumplist_updater.cc
+++ b/chrome/browser/win/jumplist_updater.cc
@@ -13,7 +13,6 @@
#include "base/metrics/histogram_macros.h"
#include "base/path_service.h"
#include "base/win/win_util.h"
-#include "base/win/windows_version.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
@@ -110,11 +109,9 @@ JumpListUpdater::~JumpListUpdater() {
// static
bool JumpListUpdater::IsEnabled() {
- // JumpList is implemented only on Windows 7 or later.
// Do not create custom JumpLists in tests. See http://crbug.com/389375.
- return base::win::GetVersion() >= base::win::VERSION_WIN7 &&
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kTestType);
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kTestType);
}
bool JumpListUpdater::BeginUpdate() {
« no previous file with comments | « chrome/browser/win/jumplist.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698