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/rappor/log_uploader.cc b/components/rappor/log_uploader.cc index cf6b7e9..cee35a96 100644 --- a/components/rappor/log_uploader.cc +++ b/components/rappor/log_uploader.cc
@@ -8,6 +8,7 @@ #include <stdint.h> #include <utility> +#include "base/bind.h" #include "base/metrics/histogram_functions.h" #include "base/metrics/histogram_macros.h" #include "components/data_use_measurement/core/data_use_user_data.h"