Index: components/update_client/utils.h |
diff --git a/components/update_client/utils.h b/components/update_client/utils.h |
index 3adda89eabdd025a9c645aec4e1d79d81fac0391..9f761c42040a9adf2436753a2aa07634c6b36f5b 100644 |
--- a/components/update_client/utils.h |
+++ b/components/update_client/utils.h |
@@ -10,10 +10,13 @@ |
#include <utility> |
#include <vector> |
+#include "base/callback_forward.h" |
+#include "components/update_client/update_client.h" |
class GURL; |
namespace base { |
+class DictionaryValue; |
class FilePath; |
} |
@@ -114,6 +117,10 @@ bool IsValidInstallerAttribute(const InstallerAttribute& attr); |
// Removes the unsecure urls in the |urls| parameter. |
void RemoveUnsecureUrls(std::vector<GURL>* urls); |
+// Adapter function for the old definitions of CrxInstaller::Install until the |
+// component installer code is migrated to use a REsult instead of bool. |
+CrxInstaller::Result InstallFunctionWrapper(base::Callback<bool()> callback); |
+ |
} // namespace update_client |
#endif // COMPONENTS_UPDATE_CLIENT_UTILS_H_ |