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

Unified Diff: chrome/browser/extensions/api/gcm/gcm_api.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcm/gcm_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/gcm/gcm_api.h
diff --git a/chrome/browser/extensions/api/gcm/gcm_api.h b/chrome/browser/extensions/api/gcm/gcm_api.h
index e5447c0ea935cfe99ba7f0f71ccd486080b93e01..7bbc865ecabb0e2efc11c22ddb18d4348099747d 100644
--- a/chrome/browser/extensions/api/gcm/gcm_api.h
+++ b/chrome/browser/extensions/api/gcm/gcm_api.h
@@ -51,7 +51,7 @@ class GcmRegisterFunction : public GcmApiFunction {
private:
void CompleteFunctionWithResult(const std::string& registration_id,
- gcm::GCMClient::Result result);
+ gcm::Result result);
};
class GcmUnregisterFunction : public GcmApiFunction {
@@ -67,7 +67,7 @@ class GcmUnregisterFunction : public GcmApiFunction {
virtual bool DoWork() OVERRIDE FINAL;
private:
- void CompleteFunctionWithResult(gcm::GCMClient::Result result);
+ void CompleteFunctionWithResult(gcm::Result result);
};
class GcmSendFunction : public GcmApiFunction {
@@ -84,11 +84,11 @@ class GcmSendFunction : public GcmApiFunction {
private:
void CompleteFunctionWithResult(const std::string& message_id,
- gcm::GCMClient::Result result);
+ gcm::Result result);
// Validates that message data do not carry invalid keys and fit into
// allowable size limits.
- bool ValidateMessageData(const gcm::GCMClient::MessageData& data) const;
+ bool ValidateMessageData(const gcm::MessageData& data) const;
};
class GcmJsEventRouter : public EventRouter::Observer {
@@ -98,10 +98,10 @@ class GcmJsEventRouter : public EventRouter::Observer {
virtual ~GcmJsEventRouter();
void OnMessage(const std::string& app_id,
- const gcm::GCMClient::IncomingMessage& message);
+ const gcm::IncomingMessage& message);
void OnMessagesDeleted(const std::string& app_id);
void OnSendError(const std::string& app_id,
- const gcm::GCMClient::SendErrorDetails& send_error_details);
+ const gcm::SendErrorDetails& send_error_details);
// EventRouter::Observer:
virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcm/gcm_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698