| Index: third_party/leveldatabase/env_chromium.h
|
| diff --git a/third_party/leveldatabase/env_chromium.h b/third_party/leveldatabase/env_chromium.h
|
| index adc9c25275888f57a7eaeb8489eebe60de72107f..c2c2579a0adadf853aa430e1f96ce27fa5b6ad83 100644
|
| --- a/third_party/leveldatabase/env_chromium.h
|
| +++ b/third_party/leveldatabase/env_chromium.h
|
| @@ -12,6 +12,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/callback.h"
|
| #include "base/containers/linked_list.h"
|
| #include "base/files/file.h"
|
| #include "base/files/file_path.h"
|
| @@ -256,7 +257,7 @@ class DBTracker {
|
| const std::string& name,
|
| TrackedDB** dbptr);
|
|
|
| - using DatabaseVisitor = std::function<void(TrackedDB*)>;
|
| + using DatabaseVisitor = base::RepeatingCallback<void(TrackedDB*)>;
|
|
|
| // Calls |visitor| for each live database. The database is live from the
|
| // point it was returned from OpenDatabase() and up until its instance is
|
|
|