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

Unified Diff: chrome/browser/services/gcm/fake_gcm_profile_service.h

Issue 270873002: Extract GCMClient data types into separate gcm_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload Created 6 years, 7 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
Index: chrome/browser/services/gcm/fake_gcm_profile_service.h
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.h b/chrome/browser/services/gcm/fake_gcm_profile_service.h
index 8ca88a3b0db847308e6cea8c4988a622c5f2e2f5..cb8445d0f90a4f5374c86ae4dae92309d06e6feb 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.h
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.h
@@ -31,7 +31,7 @@ class FakeGCMProfileService : public GCMProfileService {
UnregisterCallback callback) OVERRIDE;
virtual void Send(const std::string& app_id,
const std::string& receiver_id,
- const GCMClient::OutgoingMessage& message,
+ const OutgoingMessage& message,
SendCallback callback) OVERRIDE;
void RegisterFinished(const std::string& app_id,
@@ -40,13 +40,13 @@ class FakeGCMProfileService : public GCMProfileService {
void SendFinished(const std::string& app_id,
const std::string& receiver_id,
- const GCMClient::OutgoingMessage& message,
+ const OutgoingMessage& message,
SendCallback callback);
- void AddExpectedUnregisterResponse(GCMClient::Result result);
- GCMClient::Result GetNextExpectedUnregisterResponse();
+ void AddExpectedUnregisterResponse(Result result);
+ Result GetNextExpectedUnregisterResponse();
- const GCMClient::OutgoingMessage& last_sent_message() const {
+ const OutgoingMessage& last_sent_message() const {
return last_sent_message_;
}
@@ -72,8 +72,8 @@ class FakeGCMProfileService : public GCMProfileService {
bool collect_;
std::string last_registered_app_id_;
std::vector<std::string> last_registered_sender_ids_;
- std::vector<GCMClient::Result> unregister_responses_;
- GCMClient::OutgoingMessage last_sent_message_;
+ std::vector<Result> unregister_responses_;
+ OutgoingMessage last_sent_message_;
std::string last_receiver_id_;
DISALLOW_COPY_AND_ASSIGN(FakeGCMProfileService);
« no previous file with comments | « chrome/browser/services/gcm/default_gcm_app_handler.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