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

Unified Diff: base/path_service_unittest.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/files/file_enumerator_win.cc ('k') | base/test/test_shortcut_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service_unittest.cc
diff --git a/base/path_service_unittest.cc b/base/path_service_unittest.cc
index d86bc0f92917f6f1db077d93865cbfb005cd948b..ad3334a06e396590ea74b54a7ee806a94a4a5650 100644
--- a/base/path_service_unittest.cc
+++ b/base/path_service_unittest.cc
@@ -42,13 +42,6 @@ bool ReturnsValidPath(int dir_type) {
if (dir_type == DIR_USER_DESKTOP)
check_path_exists = false;
#endif
-#if defined(OS_WIN)
- if (dir_type == DIR_TASKBAR_PINS) {
- // There is no pinned-to-taskbar shortcuts prior to Win7.
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- check_path_exists = false;
- }
-#endif
#if defined(OS_MACOSX)
if (dir_type != DIR_EXE && dir_type != DIR_MODULE &&
dir_type != FILE_EXE && dir_type != FILE_MODULE) {
« no previous file with comments | « base/files/file_enumerator_win.cc ('k') | base/test/test_shortcut_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698