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

Unified Diff: chrome/common/chrome_paths_win.cc

Issue 10560015: Implement base::win::IsMetroProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename InMetroMode to IsMetroProcess. Cache and DCHECK in GetMetroModule. Created 8 years, 6 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: chrome/common/chrome_paths_win.cc
diff --git a/chrome/common/chrome_paths_win.cc b/chrome/common/chrome_paths_win.cc
index dc2502f0b2f88a6463cf443bebb29f1f6311e3fd..4a6c5c5e7f666344100e27844c034b502d865d55 100644
--- a/chrome/common/chrome_paths_win.cc
+++ b/chrome/common/chrome_paths_win.cc
@@ -25,7 +25,7 @@ bool GetDefaultUserDataDirectory(FilePath* result) {
return false;
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
*result = result->Append(dist->GetInstallSubDir());
- if (base::win::GetMetroModule())
+ if (base::win::IsMetroProcess())
*result = result->Append(kMetroChromeUserDataSubDir);
*result = result->Append(chrome::kUserDataDirname);
return true;

Powered by Google App Engine
This is Rietveld 408576698