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

Unified Diff: extensions/browser/user_script_loader.h

Issue 2898523002: Remove the usage of BrowserThread::FILE in web_ui_user_script_loader.cc (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 | « extensions/browser/extension_user_script_loader.cc ('k') | extensions/browser/web_ui_user_script_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/user_script_loader.h
diff --git a/extensions/browser/user_script_loader.h b/extensions/browser/user_script_loader.h
index a6a5d7c9ef23d0845026a8fa4cf6cf0f80ec6517..a24eb01a6e010a106636cd0031330490591b0e76 100644
--- a/extensions/browser/user_script_loader.h
+++ b/extensions/browser/user_script_loader.h
@@ -42,8 +42,8 @@ namespace extensions {
class UserScriptLoader : public content::NotificationObserver {
public:
using LoadScriptsCallback =
- base::Callback<void(std::unique_ptr<UserScriptList>,
- std::unique_ptr<base::SharedMemory>)>;
+ base::OnceCallback<void(std::unique_ptr<UserScriptList>,
+ std::unique_ptr<base::SharedMemory>)>;
class Observer {
public:
virtual void OnScriptsLoaded(UserScriptLoader* loader) = 0;
« no previous file with comments | « extensions/browser/extension_user_script_loader.cc ('k') | extensions/browser/web_ui_user_script_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698