commit | f1349f5aee38c2c1e6c488a1a718fb67850e26e6 | [log] [tgz] |
---|---|---|
author | Sebastien Marchand <[email protected]> | Fri Jan 25 03:16:41 2019 |
committer | Sébastien Marchand <[email protected]> | Fri Jan 25 03:16:41 2019 |
tree | 6a70cf9a648e53e45e71803f9e437896787131ff | |
parent | fcfd409ca96868f629c231e49f2df839f94fb89d [diff] [blame] |
Include base/bind.h in the files that use it (in //chrome). Gab, I've used your refactoring script for this, the rule is: matches = re.compile(r'(\n *[^/\n][^/\n]*base::Bind(Once|Repeating)?\b[^*])', re.DOTALL).findall(content) if not matches: return False updated_content = refactor_lib.AddInclude(file_path, content, "base/bind.h") if updated_content == content: return False # Write updated file refactor_lib.WriteFile(file_path, updated_content) [email protected] Change-Id: Ifd89fb054ff5079794f71da0d2fea72ab938ac2d Reviewed-on: https://chromium-review.googlesource.com/c/1435628 Reviewed-by: Sébastien Marchand <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Cr-Commit-Position: refs/heads/master@{#625972}
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc index 94fc4d3..465f5a4 100644 --- a/chrome/browser/extensions/extension_install_prompt.cc +++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -6,6 +6,7 @@ #include <utility> +#include "base/bind.h" #include "base/callback_helpers.h" #include "base/location.h" #include "base/single_thread_task_runner.h"