Index: chrome/browser/services/gcm/fake_gcm_client_factory.h |
diff --git a/chrome/browser/services/gcm/fake_gcm_client_factory.h b/chrome/browser/services/gcm/fake_gcm_client_factory.h |
index df9d5b37fbd35c5926ab449174b2734fe72abe83..0f4e6db5f657784321906cdef493d82dbed5f48f 100644 |
--- a/chrome/browser/services/gcm/fake_gcm_client_factory.h |
+++ b/chrome/browser/services/gcm/fake_gcm_client_factory.h |
@@ -10,13 +10,19 @@ |
#include "chrome/browser/services/gcm/fake_gcm_client.h" |
#include "components/gcm_driver/gcm_client_factory.h" |
+namespace base { |
+class MessageLoopProxy; |
+} |
+ |
namespace gcm { |
class GCMClient; |
class FakeGCMClientFactory : public GCMClientFactory { |
public: |
- explicit FakeGCMClientFactory(FakeGCMClient::StartMode gcm_client_start_mode); |
+ FakeGCMClientFactory(FakeGCMClient::StartMode gcm_client_start_mode, |
+ const scoped_refptr<base::MessageLoopProxy>& ui_thread, |
+ const scoped_refptr<base::MessageLoopProxy>& io_thread); |
virtual ~FakeGCMClientFactory(); |
// GCMClientFactory: |
@@ -24,6 +30,8 @@ class FakeGCMClientFactory : public GCMClientFactory { |
private: |
FakeGCMClient::StartMode gcm_client_start_mode_; |
+ scoped_refptr<base::MessageLoopProxy> ui_thread_; |
+ scoped_refptr<base::MessageLoopProxy> io_thread_; |
DISALLOW_COPY_AND_ASSIGN(FakeGCMClientFactory); |
}; |