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

Unified Diff: chrome/browser/extensions/state_store.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: chrome/browser/extensions/state_store.cc
diff --git a/chrome/browser/extensions/state_store.cc b/chrome/browser/extensions/state_store.cc
index 5b6b9b219be2034373d6524ebe8494ef13cca779..2ec234b709fa39a76028d8e3d5b15991e771c398 100644
--- a/chrome/browser/extensions/state_store.cc
+++ b/chrome/browser/extensions/state_store.cc
@@ -139,7 +139,8 @@ void StateStore::Observe(int type,
content::NotificationService::AllSources());
registrar_.Remove(this, chrome::NOTIFICATION_SESSION_RESTORE_DONE,
content::NotificationService::AllSources());
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ base::MessageLoop::current()->PostDelayedTask(
+ FROM_HERE,
base::Bind(&StateStore::Init, AsWeakPtr()),
base::TimeDelta::FromSeconds(kInitDelaySeconds));
break;

Powered by Google App Engine
This is Rietveld 408576698