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

Unified Diff: sync/notifier/chrome_system_resources_unittest.cc

Issue 10436013: [Sync] Make InvalidationNotifier use PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: sync/notifier/chrome_system_resources_unittest.cc
diff --git a/sync/notifier/chrome_system_resources_unittest.cc b/sync/notifier/chrome_system_resources_unittest.cc
index a61497f00fa55f03c96d3b8c0056d466461586d3..bb969af388f6a421a34f53010e3ab02360ed3e84 100644
--- a/sync/notifier/chrome_system_resources_unittest.cc
+++ b/sync/notifier/chrome_system_resources_unittest.cc
@@ -12,6 +12,7 @@
#include "base/message_loop.h"
#include "google/cacheinvalidation/include/types.h"
+#include "jingle/notifier/listener/fake_push_client.h"
#include "sync/notifier/state_writer.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -48,7 +49,9 @@ class MockStorageCallback {
class ChromeSystemResourcesTest : public testing::Test {
protected:
ChromeSystemResourcesTest()
- : chrome_system_resources_(&mock_state_writer_) {}
+ : chrome_system_resources_(
+ scoped_ptr<notifier::PushClient>(new notifier::FakePushClient()),
+ &mock_state_writer_) {}
virtual ~ChromeSystemResourcesTest() {}

Powered by Google App Engine
This is Rietveld 408576698