commit | 53801a30c6430a817f484b8da6cf18f2d3b9f062 | [log] [tgz] |
---|---|---|
author | Sebastien Marchand <[email protected]> | Fri Jan 25 16:26:11 2019 |
committer | Sébastien Marchand <[email protected]> | Fri Jan 25 16:26:11 2019 |
tree | 279b2cf34bb4fcc4a36401e32cef818bca0cdd55 | |
parent | d5acc726d652800c3bcbadabdf3588f75fb3f7c1 [diff] [blame] |
Include base/bind.h in the files that use it (in //component). Gab/Francois, 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: I5c6805a75e4e11d0d30bf7dd62fb49963f922acb Reviewed-on: https://chromium-review.googlesource.com/c/1437062 Reviewed-by: Sébastien Marchand <[email protected]> Reviewed-by: François Doray <[email protected]> Commit-Queue: Sébastien Marchand <[email protected]> Cr-Commit-Position: refs/heads/master@{#626093}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc index 799564f0..081d4394 100644 --- a/components/payments/content/payment_request.cc +++ b/components/payments/content/payment_request.cc
@@ -7,6 +7,7 @@ #include <string> #include <utility> +#include "base/bind.h" #include "base/feature_list.h" #include "base/stl_util.h" #include "components/payments/content/can_make_payment_query_factory.h"