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

Unified Diff: components/update_client/utils.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 | « components/update_client/update_client_unittest.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/update_client/update_client_unittest.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698