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

Unified Diff: extensions/browser/quota_service_unittest.cc

Issue 2090063002: Remove calls to deprecated MessageLoop methods in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: extensions/browser/quota_service_unittest.cc
diff --git a/extensions/browser/quota_service_unittest.cc b/extensions/browser/quota_service_unittest.cc
index 70a9346e38448248b60d2f470f5e0ea711b8e3ab..56cb116d38b04531672753be6d5620a2ceedaa23 100644
--- a/extensions/browser/quota_service_unittest.cc
+++ b/extensions/browser/quota_service_unittest.cc
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/process/process.h"
+#include "base/run_loop.h"
#include "base/stl_util.h"
#include "base/strings/string_util.h"
#include "content/public/test/test_browser_thread.h"
@@ -112,7 +113,7 @@ class QuotaServiceTest : public testing::Test {
ui_thread_(BrowserThread::UI, &loop_) {}
void SetUp() override { service_.reset(new QuotaService()); }
void TearDown() override {
- loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
service_.reset();
}
« no previous file with comments | « extensions/browser/image_loader_unittest.cc ('k') | extensions/browser/value_store/value_store_frontend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698