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/chrome_app_api_browsertest.cc b/chrome/browser/extensions/chrome_app_api_browsertest.cc index 02436f3..e0ffd05 100644 --- a/chrome/browser/extensions/chrome_app_api_browsertest.cc +++ b/chrome/browser/extensions/chrome_app_api_browsertest.cc
@@ -5,6 +5,7 @@ #include <memory> #include <string> +#include "base/bind.h" #include "base/command_line.h" #include "base/json/json_reader.h" #include "base/strings/string_number_conversions.h"