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

Side by Side Diff: chrome/browser/services/gcm/fake_gcm_profile_service.h

Issue 290013011: Move all remaining files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 6 years, 6 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
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 CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
6 #define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 6 #define CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/services/gcm/gcm_driver.h"
12 #include "chrome/browser/services/gcm/gcm_profile_service.h" 11 #include "chrome/browser/services/gcm/gcm_profile_service.h"
12 #include "components/gcm_driver/gcm_driver.h"
13 13
14 namespace content { 14 namespace content {
15 class BrowserContext; 15 class BrowserContext;
16 } // namespace content 16 } // namespace content
17 17
18 namespace gcm { 18 namespace gcm {
19 19
20 // Acts as a bridge between GCM API and GCMClient layer for testing purposes. 20 // Acts as a bridge between GCM API and GCMClient layer for testing purposes.
21 class FakeGCMProfileService : public GCMProfileService { 21 class FakeGCMProfileService : public GCMProfileService {
22 public: 22 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 std::list<GCMClient::Result> unregister_responses_; 68 std::list<GCMClient::Result> unregister_responses_;
69 GCMClient::OutgoingMessage last_sent_message_; 69 GCMClient::OutgoingMessage last_sent_message_;
70 std::string last_receiver_id_; 70 std::string last_receiver_id_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(FakeGCMProfileService); 72 DISALLOW_COPY_AND_ASSIGN(FakeGCMProfileService);
73 }; 73 };
74 74
75 } // namespace gcm 75 } // namespace gcm
76 76
77 #endif // CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_ 77 #endif // CHROME_BROWSER_SERVICES_GCM_FAKE_GCM_PROFILE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/services/gcm/fake_gcm_client_factory.cc ('k') | chrome/browser/services/gcm/fake_gcm_profile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698