Commit 62c45474 authored by Makoto Shimazu's avatar Makoto Shimazu Committed by Commit Bot

Convert base::Bind to base::Bind{Once,Repeating} in content/browser

This CL converts base::Bind to BindOnce or BindRepeating, and also changes
relevant base::Callbacks or base::Closures to appropriate types.

This CL is split from https://crrev.com/1831621.

This CL was uploaded by git cl split.

R=tdresser@chromium.org

Bug: 1007760
Change-Id: I52907b719b57b5adef468b020a6ddce0961c4330
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849487
Auto-Submit: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
Commit-Queue: Timothy Dresser <tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704281}
parent e14f2491
...@@ -16,7 +16,7 @@ namespace content { ...@@ -16,7 +16,7 @@ namespace content {
// Utility class for handling a timeout callback with periodic starts and stops. // Utility class for handling a timeout callback with periodic starts and stops.
class CONTENT_EXPORT TimeoutMonitor { class CONTENT_EXPORT TimeoutMonitor {
public: public:
typedef base::Closure TimeoutHandler; typedef base::RepeatingClosure TimeoutHandler;
explicit TimeoutMonitor(const TimeoutHandler& timeout_handler); explicit TimeoutMonitor(const TimeoutHandler& timeout_handler);
~TimeoutMonitor(); ~TimeoutMonitor();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment