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

Unified Diff: google_apis/gcm/gcm_client_impl.h

Issue 135303002: Adding a user list (to be consumed by GCM Client Implementation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Win64 compilation issue and adding comments to test Created 6 years, 11 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 | « google_apis/gcm/gcm.gyp ('k') | google_apis/gcm/gcm_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/gcm_client_impl.h
diff --git a/google_apis/gcm/gcm_client_impl.h b/google_apis/gcm/gcm_client_impl.h
index 797c32516a2826a9503d474a08ee873d9e65e123..475de85d62a35f1af3c08aad6c7ecc6a5cf52295 100644
--- a/google_apis/gcm/gcm_client_impl.h
+++ b/google_apis/gcm/gcm_client_impl.h
@@ -6,15 +6,29 @@
#define GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "google_apis/gcm/gcm_client.h"
+namespace base {
+class FilePath;
+class SequencedTaskRunner;
+} // namespace base
+
namespace gcm {
+class GCMStore;
+class UserList;
+
class GCMClientImpl : public GCMClient {
public:
GCMClientImpl();
virtual ~GCMClientImpl();
+ void Initialize(
+ const base::FilePath& path,
+ scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
+
// Overridden from GCMClient:
virtual void SetUserDelegate(const std::string& username,
Delegate* delegate) OVERRIDE;
@@ -32,6 +46,9 @@ class GCMClientImpl : public GCMClient {
virtual bool IsLoading() const OVERRIDE;
private:
+ scoped_ptr<GCMStore> gcm_store_;
+ scoped_ptr<UserList> user_list_;
+
DISALLOW_COPY_AND_ASSIGN(GCMClientImpl);
};
« no previous file with comments | « google_apis/gcm/gcm.gyp ('k') | google_apis/gcm/gcm_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698