Skip to content

Commit 6d0558f

Browse files
committedJan 25, 2019
Include base/bind.h in the files that use it.
This also adds it to the whitelist used in third_party/blink/renderer/DEPS 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: I7a9a991255a560c6ebedaade47cffe1ac1c7baff Reviewed-on: https://chromium-review.googlesource.com/c/1437069 Commit-Queue: Sébastien Marchand <[email protected]> Reviewed-by: François Doray <[email protected]> Cr-Commit-Position: refs/heads/master@{#626098}
1 parent 771dd2a commit 6d0558f

File tree

1,423 files changed

+1430
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,423 files changed

+1430
-7
lines changed
 

‎android_webview/browser/aw_contents_io_thread_client.cc

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "base/android/jni_array.h"
1515
#include "base/android/jni_string.h"
1616
#include "base/android/jni_weak_ref.h"
17+
#include "base/bind.h"
1718
#include "base/containers/flat_set.h"
1819
#include "base/lazy_instance.h"
1920
#include "base/synchronization/lock.h"

‎android_webview/browser/aw_contents_statics.cc

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "base/android/jni_array.h"
1111
#include "base/android/jni_string.h"
1212
#include "base/android/scoped_java_ref.h"
13+
#include "base/bind.h"
1314
#include "base/callback.h"
1415
#include "base/task/post_task.h"
1516
#include "components/google/core/common/google_util.h"

0 commit comments

Comments
 (0)
Please sign in to comment.