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

Side by Side Diff: google_apis/gcm/gcm_client_impl.h

Issue 135903005: [GCM] Reland: Introduce GCMClientFactory to create GCMClient for GCMProfileService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch 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 unified diff | Download patch | Annotate | Revision Log
« google_apis/gcm/gcm_client.h ('K') | « google_apis/gcm/gcm_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_ 5 #ifndef GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_
6 #define GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_ 6 #define GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "google_apis/gcm/gcm_client.h" 11 #include "google_apis/gcm/gcm_client.h"
12 12
13 namespace base { 13 namespace base {
14 class FilePath; 14 class FilePath;
15 class SequencedTaskRunner; 15 class SequencedTaskRunner;
16 } // namespace base 16 } // namespace base
17 17
18 namespace gcm { 18 namespace gcm {
19 19
20 class GCMStore; 20 class GCMStore;
21 class UserList; 21 class UserList;
22 22
23 class GCMClientImpl : public GCMClient { 23 class GCM_EXPORT GCMClientImpl : public GCMClient {
24 public: 24 public:
25 GCMClientImpl(); 25 GCMClientImpl();
26 virtual ~GCMClientImpl(); 26 virtual ~GCMClientImpl();
27 27
28 void Initialize( 28 void Initialize(
29 const base::FilePath& path, 29 const base::FilePath& path,
30 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); 30 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
31 31
32 // Overridden from GCMClient: 32 // Overridden from GCMClient:
33 virtual void SetUserDelegate(const std::string& username, 33 virtual void SetUserDelegate(const std::string& username,
(...skipping 14 matching lines...) Expand all
48 private: 48 private:
49 scoped_ptr<GCMStore> gcm_store_; 49 scoped_ptr<GCMStore> gcm_store_;
50 scoped_ptr<UserList> user_list_; 50 scoped_ptr<UserList> user_list_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(GCMClientImpl); 52 DISALLOW_COPY_AND_ASSIGN(GCMClientImpl);
53 }; 53 };
54 54
55 } // namespace gcm 55 } // namespace gcm
56 56
57 #endif // GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_ 57 #endif // GOOGLE_APIS_GCM_GCM_CLIENT_IMPL_H_
OLDNEW
« google_apis/gcm/gcm_client.h ('K') | « google_apis/gcm/gcm_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698