| Index: chrome/browser/services/gcm/fake_gcm_client.h
|
| diff --git a/chrome/browser/services/gcm/fake_gcm_client.h b/chrome/browser/services/gcm/fake_gcm_client.h
|
| index d2ca5fbf126725f9bd9e6d3dd0e3e5e6ca438b3b..953af9cd280854bc0a4d92f1d9eadca3bf81caae 100644
|
| --- a/chrome/browser/services/gcm/fake_gcm_client.h
|
| +++ b/chrome/browser/services/gcm/fake_gcm_client.h
|
| @@ -9,6 +9,10 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "google_apis/gcm/gcm_client.h"
|
|
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +}
|
| +
|
| namespace gcm {
|
|
|
| class FakeGCMClient : public GCMClient {
|
| @@ -25,7 +29,9 @@ class FakeGCMClient : public GCMClient {
|
| DELAY_START,
|
| };
|
|
|
| - explicit FakeGCMClient(StartMode start_mode);
|
| + FakeGCMClient(StartMode start_mode,
|
| + const scoped_refptr<base::MessageLoopProxy>& ui_thread,
|
| + const scoped_refptr<base::MessageLoopProxy>& io_thread);
|
| virtual ~FakeGCMClient();
|
|
|
| // Overridden from GCMClient:
|
| @@ -84,6 +90,8 @@ class FakeGCMClient : public GCMClient {
|
| Delegate* delegate_;
|
| Status status_;
|
| StartMode start_mode_;
|
| + scoped_refptr<base::MessageLoopProxy> ui_thread_;
|
| + scoped_refptr<base::MessageLoopProxy> io_thread_;
|
| base::WeakPtrFactory<FakeGCMClient> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FakeGCMClient);
|
|
|