Include base/bind.h in the files that use it.

This also adds it to the whitelist used in

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)

Change-Id: I7a9a991255a560c6ebedaade47cffe1ac1c7baff
Commit-Queue: Sébastien Marchand <>
Reviewed-by: François Doray <>
Cr-Original-Commit-Position: refs/heads/master@{#626098}
Cr-Mirrored-Commit: 6d0558fd1092421d2c9cd91ba61af1606d948e6e
21 files changed