Chromium Code Reviews| Index: chrome/browser/metro_utils/metro_chrome_win.cc |
| diff --git a/chrome/browser/metro_utils/metro_chrome_win.cc b/chrome/browser/metro_utils/metro_chrome_win.cc |
| index 30aeca58eebd2e4eed60c0958a84a1c621605189..44c88d7eb1dbc08ea00b0bf2d70da73fcf535682 100644 |
| --- a/chrome/browser/metro_utils/metro_chrome_win.cc |
| +++ b/chrome/browser/metro_utils/metro_chrome_win.cc |
| @@ -12,6 +12,7 @@ |
| #include "base/win/metro.h" |
| #include "base/win/scoped_com_initializer.h" |
| #include "base/win/scoped_comptr.h" |
| +#include "base/win/windows_version.h" |
| #include "chrome/installer/util/browser_distribution.h" |
| #include "chrome/installer/util/install_util.h" |
| #include "chrome/installer/util/shell_util.h" |
| @@ -19,6 +20,9 @@ |
| namespace chrome { |
| bool ActivateMetroChrome() { |
| + if (base::win::GetVersion() < base::win::VERSION_WIN8) |
|
ananta
2014/04/11 02:25:24
Would it make sense to launch the ASH version on W
|
| + return true; |
| + |
| base::FilePath chrome_exe; |
| if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { |
| NOTREACHED() << "Failed to get chrome exe path"; |