commit | f8cbfab43427ba4a0bf8618e06fe237f771eb49c | [log] [tgz] |
---|---|---|
author | Sebastien Marchand <[email protected]> | Fri Jan 25 16:02:30 2019 |
committer | Sébastien Marchand <[email protected]> | Fri Jan 25 16:02:30 2019 |
tree | ec423e10860f1c7ed5137187fe537c5c1ae8a022 | |
parent | d1d6586b3beca9bfdf3f2e1b9951e4bbf074604c [diff] [blame] |
Include base/bind.h in the files that use it (in //content). 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: I6cca9dff7fa4937fd7accdc57fe774674f6c147b Reviewed-on: https://chromium-review.googlesource.com/c/1437100 Commit-Queue: Sébastien Marchand <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Cr-Commit-Position: refs/heads/master@{#626088}
diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc index 23fc78b..8da4c73 100644 --- a/content/browser/plugin_service_impl_browsertest.cc +++ b/content/browser/plugin_service_impl_browsertest.cc
@@ -8,6 +8,7 @@ #include <string> #include <utility> +#include "base/bind.h" #include "base/optional.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h"