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

Unified Diff: chrome/installer/util/install_util.h

Issue 2476573004: Use InstallDetails in installer_util. (Closed)
Patch Set: sync to position 451835 Created 3 years, 10 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/installer/util/google_update_settings_unittest.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/install_util.h
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index 198d3385359faf09bd6a98dbc87ed715fcf2cbd1..3a586a65b0adb369e0a269f059ea943d1a95d72e 100644
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -86,12 +86,10 @@ class InstallUtil {
// Returns true if this installation path is per user, otherwise returns false
// (per machine install, meaning: the exe_path contains the path to Program
// Files).
+ // TODO(grt): remove |exe_path| and consider replacing all callers with
+ // direct use of InstallDetails.
static bool IsPerUserInstall(const base::FilePath& exe_path);
- // Resets internal state for IsPerUserInstall so that the next call recomputes
- // with fresh data.
- static void ResetIsPerUserInstallForTest();
-
// Returns true if this is running setup process for Chrome SxS (as
// indicated by the presence of --chrome-sxs on the command line) or if this
// is running Chrome process from the Chrome SxS installation (as indicated
« no previous file with comments | « chrome/installer/util/google_update_settings_unittest.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698