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

Unified Diff: chrome/installer/setup/setup_util.h

Issue 3817001: CommandLine: remove wstring-based program() accessor (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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/installer/setup/setup_util.h
diff --git a/chrome/installer/setup/setup_util.h b/chrome/installer/setup/setup_util.h
index 39118cc08dccc5718cb4c0a39f9d600c333c8b26..61aed71bef041bd6a1ce616d1652ecafd383a4c8 100644
--- a/chrome/installer/setup/setup_util.h
+++ b/chrome/installer/setup/setup_util.h
@@ -10,18 +10,20 @@
#include "chrome/installer/util/version.h"
+class FilePath;
+
namespace setup_util {
// Apply a diff patch to source file. First tries to apply it using courgette
// since it checks for courgette header and fails quickly. If that fails
// tries to apply the patch using regular bsdiff. Returns status code.
- int ApplyDiffPatch(const std::wstring& src,
- const std::wstring& patch,
- const std::wstring& dest);
+ int ApplyDiffPatch(const FilePath& src,
+ const FilePath& patch,
+ const FilePath& dest);
// Find the version of Chrome from an install source directory.
// Chrome_path should contain a version folder.
// Returns the first version found or NULL if no version is found.
- installer::Version* GetVersionFromDir(const std::wstring& chrome_path);
+ installer::Version* GetVersionFromDir(const FilePath& chrome_path);
} // namespace setup_util
#endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698