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

Unified Diff: chrome/browser/sync/glue/favicon_cache_unittest.cc

Issue 13006012: [Sync] Fix double tranaction acquire in favicon code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « chrome/browser/sync/glue/favicon_cache.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/favicon_cache_unittest.cc
diff --git a/chrome/browser/sync/glue/favicon_cache_unittest.cc b/chrome/browser/sync/glue/favicon_cache_unittest.cc
index f7c146bca8657b16d1c5fde3c349689380ad2908..fa2450e6a8dbfd4ab8f5265a2eda8a1357139452 100644
--- a/chrome/browser/sync/glue/favicon_cache_unittest.cc
+++ b/chrome/browser/sync/glue/favicon_cache_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/sync/glue/favicon_cache.h"
+#include "base/message_loop.h"
#include "base/stringprintf.h"
#include "chrome/browser/history/history_notifications.h"
#include "chrome/common/chrome_notification_types.h"
@@ -287,6 +288,7 @@ class SyncFaviconCacheTest : public testing::Test {
void OnCustomFaviconDataAvailable(const TestFaviconData& test_data);
private:
+ MessageLoopForUI message_loop_;
rlarocque 2013/03/25 21:30:57 Is this used anywhere?
Nicolas Zea 2013/03/25 21:37:30 It's necessary so that MessageLoop::current() does
FaviconCache cache_;
// Our dummy ChangeProcessor used to inspect changes pushed to Sync.
« no previous file with comments | « chrome/browser/sync/glue/favicon_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698