Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: content/public/browser/font_list_async.h

Issue 2886883003: Remove content::kFontListSequenceToken. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/font_list_fontconfig.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/font_list_async.h
diff --git a/content/public/browser/font_list_async.h b/content/public/browser/font_list_async.h
index 57a744284a617e5aff7ba9c5bc9e59de933e1a3b..4c3f05965f7668f38fbb844cda8376dd9665b989 100644
--- a/content/public/browser/font_list_async.h
+++ b/content/public/browser/font_list_async.h
@@ -7,7 +7,7 @@
#include <memory>
-#include "base/callback_forward.h"
+#include "base/callback.h"
#include "content/common/content_export.h"
namespace base {
@@ -20,11 +20,10 @@ namespace content {
// a non-blocking interface to GetFontList_SlowBlocking in common/.
//
// This function will run asynchronously on a background thread since getting
-// the font list from the system can be slow. This function may be called from
-// any thread that has a BrowserThread::ID. The callback will be executed on
-// the calling thread.
+// the font list from the system can be slow. The callback will be executed on
+// the calling sequence.
CONTENT_EXPORT void GetFontListAsync(
- const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback);
+ base::OnceCallback<void(std::unique_ptr<base::ListValue>)> callback);
} // namespace content
« no previous file with comments | « content/common/font_list_fontconfig.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698