forked from mindaptiv/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
msi_util_win.h
28 lines (22 loc) · 929 Bytes
/
msi_util_win.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CONFLICTS_MSI_UTIL_WIN_H_
#define CHROME_BROWSER_CONFLICTS_MSI_UTIL_WIN_H_
#include <vector>
#include "base/callback.h"
#include "base/strings/string16.h"
class MsiUtil {
public:
virtual ~MsiUtil() {}
// Using the Microsoft Installer API, retrieves the path of all the components
// for a given product. This function should be called on a thread that allows
// access to the file system. Returns false if any error occured, including if
// the |product_guid| passed is not a GUID.
//
// Note: Marked virtual to allow mocking.
virtual bool GetMsiComponentPaths(
const base::string16& product_guid,
std::vector<base::string16>* component_paths) const;
};
#endif // CHROME_BROWSER_CONFLICTS_MSI_UTIL_WIN_H_