base: Cleanup callback types (part 1).
Remove some usage of deprecated callback types in base/*. Where possible
convert to the corresponding once type, otherwise replace with the
repeating type.
Bug: 714018
Change-Id: I9fb2b1f0594d9abba1b61d018d777c78c637cdbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1511827
Commit-Queue: kylechar <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#640762}
diff --git a/base/logging.h b/base/logging.h
index 250239a..3b2ac9c 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -300,10 +300,10 @@
// however clients can use this function to override with their own handling
// (e.g. a silent one for Unit Tests)
using LogAssertHandlerFunction =
- base::Callback<void(const char* file,
- int line,
- const base::StringPiece message,
- const base::StringPiece stack_trace)>;
+ base::RepeatingCallback<void(const char* file,
+ int line,
+ const base::StringPiece message,
+ const base::StringPiece stack_trace)>;
class BASE_EXPORT ScopedLogAssertHandler {
public: