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

Unified Diff: chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc

Issue 2085673002: Remove calls to MessageLoop::current() in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests 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: chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
diff --git a/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc b/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
index b7362d8a211b9da029df8041ecdd3bc09b37352f..6ee78f1e416d1baf5f745db9917b07fa8dbc48dd 100644
--- a/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
+++ b/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
@@ -30,6 +30,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
+#include "extensions/browser/quota_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
@@ -69,6 +70,9 @@ class RecommendationRestorerTest : public testing::Test {
void VerifyTimerIsStopped() const;
void VerifyTimerIsRunning() const;
+ extensions::QuotaService::ScopedDisablePurgeForTesting
achuithb 2016/06/30 10:06:29 ditto
+ disable_purge_for_testing_;
+
TestingPrefStore* recommended_prefs_; // Not owned.
syncable_prefs::TestingPrefServiceSyncable* prefs_; // Not owned.
RecommendationRestorer* restorer_; // Not owned.

Powered by Google App Engine
This is Rietveld 408576698