| Index: google_apis/gcm/gcm_client_impl.cc
|
| diff --git a/google_apis/gcm/gcm_client_impl.cc b/google_apis/gcm/gcm_client_impl.cc
|
| index 86da9d592dc7477a0680eba9a4676f36c8830be9..8d090509036ca354fab4d14bdd6c79d423b2250d 100644
|
| --- a/google_apis/gcm/gcm_client_impl.cc
|
| +++ b/google_apis/gcm/gcm_client_impl.cc
|
| @@ -4,6 +4,12 @@
|
|
|
| #include "google_apis/gcm/gcm_client_impl.h"
|
|
|
| +#include "base/files/file_path.h"
|
| +#include "base/sequenced_task_runner.h"
|
| +#include "google_apis/gcm/engine/gcm_store.h"
|
| +#include "google_apis/gcm/engine/gcm_store_impl.h"
|
| +#include "google_apis/gcm/engine/user_list.h"
|
| +
|
| namespace gcm {
|
|
|
| GCMClientImpl::GCMClientImpl() {
|
| @@ -12,6 +18,13 @@ GCMClientImpl::GCMClientImpl() {
|
| GCMClientImpl::~GCMClientImpl() {
|
| }
|
|
|
| +void GCMClientImpl::Initialize(
|
| + const base::FilePath& path,
|
| + scoped_refptr<base::SequencedTaskRunner> blocking_task_runner) {
|
| + gcm_store_.reset(new GCMStoreImpl(path, blocking_task_runner));
|
| + user_list_.reset(new UserList(gcm_store_.get()));
|
| +}
|
| +
|
| void GCMClientImpl::SetUserDelegate(const std::string& username,
|
| Delegate* delegate) {
|
| }
|
|
|