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

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

Issue 1800303006: Fix the path of shortcuts with an icon in the current install dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit Created 4 years, 9 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/util/install_util.h
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index 672f0ff8d854c8076c040e948848155d544be528..74699b570e71fcea8f6aaec55193724c8f056a25 100644
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -190,18 +190,24 @@ class InstallUtil {
class ProgramCompare : public RegistryValuePredicate {
public:
explicit ProgramCompare(const base::FilePath& path_to_match);
+ ProgramCompare(const base::FilePath& path_to_match,
+ bool support_directories);
+
~ProgramCompare() override;
bool Evaluate(const base::string16& value) const override;
bool EvaluatePath(const base::FilePath& path) const;
protected:
- static bool OpenForInfo(const base::FilePath& path, base::File* file);
+ static bool OpenForInfo(const base::FilePath& path,
+ base::File* file,
+ bool support_directories);
static bool GetInfo(const base::File& file,
BY_HANDLE_FILE_INFORMATION* info);
base::FilePath path_to_match_;
base::File file_;
BY_HANDLE_FILE_INFORMATION file_info_;
+ bool support_directories_;
private:
DISALLOW_COPY_AND_ASSIGN(ProgramCompare);

Powered by Google App Engine
This is Rietveld 408576698