mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
wrapper: Convert usage of base::Bind to Once or Repeating (see issue #3140)
This commit is contained in:
@@ -66,14 +66,15 @@ class CefResourceManager
|
||||
// file extension. |url| will be fully qualified and may contain query or
|
||||
// fragment components.
|
||||
///
|
||||
typedef base::Callback<std::string(const std::string& /*url*/)> UrlFilter;
|
||||
using UrlFilter =
|
||||
base::RepeatingCallback<std::string(const std::string& /*url*/)>;
|
||||
|
||||
///
|
||||
// Used to resolve mime types for URLs, usually based on the file extension.
|
||||
// |url| will be fully qualified and may contain query or fragment components.
|
||||
///
|
||||
typedef base::Callback<std::string(const std::string& /*url*/)>
|
||||
MimeTypeResolver;
|
||||
using MimeTypeResolver =
|
||||
base::RepeatingCallback<std::string(const std::string& /*url*/)>;
|
||||
|
||||
private:
|
||||
// Values that stay with a request as it moves between providers.
|
||||
|
Reference in New Issue
Block a user