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

Unified Diff: components/gcm_driver/gcm_activity.h

Issue 310973002: Move GCMClient related files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_client_factory.cc ('k') | components/gcm_driver/gcm_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_activity.h
diff --git a/google_apis/gcm/gcm_activity.h b/components/gcm_driver/gcm_activity.h
similarity index 77%
rename from google_apis/gcm/gcm_activity.h
rename to components/gcm_driver/gcm_activity.h
index 45078c7cf3264519b2a9df92fe9ac03f47307fb9..0d3da0c5fd94fedf2931049bb0136f740cc5da8d 100644
--- a/google_apis/gcm/gcm_activity.h
+++ b/components/gcm_driver/gcm_activity.h
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GOOGLE_APIS_GCM_GCM_ACTIVITY_H_
-#define GOOGLE_APIS_GCM_GCM_ACTIVITY_H_
+#ifndef COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
+#define COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
#include <string>
#include <vector>
#include "base/time/time.h"
-#include "google_apis/gcm/base/gcm_export.h"
namespace gcm {
// Contains data that are common to all activity kinds below.
-struct GCM_EXPORT Activity {
+struct Activity {
Activity();
virtual ~Activity();
@@ -24,19 +23,19 @@ struct GCM_EXPORT Activity {
};
// Contains relevant data of a connection activity.
-struct GCM_EXPORT ConnectionActivity : Activity {
+struct ConnectionActivity : Activity {
ConnectionActivity();
virtual ~ConnectionActivity();
};
// Contains relevant data of a check-in activity.
-struct GCM_EXPORT CheckinActivity : Activity {
+struct CheckinActivity : Activity {
CheckinActivity();
virtual ~CheckinActivity();
};
// Contains relevant data of a registration/unregistration step.
-struct GCM_EXPORT RegistrationActivity : Activity {
+struct RegistrationActivity : Activity {
RegistrationActivity();
virtual ~RegistrationActivity();
@@ -45,7 +44,7 @@ struct GCM_EXPORT RegistrationActivity : Activity {
};
// Contains relevant data of a message receiving event.
-struct GCM_EXPORT ReceivingActivity : Activity {
+struct ReceivingActivity : Activity {
ReceivingActivity();
virtual ~ReceivingActivity();
@@ -55,7 +54,7 @@ struct GCM_EXPORT ReceivingActivity : Activity {
};
// Contains relevant data of a send-message step.
-struct GCM_EXPORT SendingActivity : Activity {
+struct SendingActivity : Activity {
SendingActivity();
virtual ~SendingActivity();
@@ -64,7 +63,7 @@ struct GCM_EXPORT SendingActivity : Activity {
std::string message_id;
};
-struct GCM_EXPORT RecordedActivities {
+struct RecordedActivities {
RecordedActivities();
virtual ~RecordedActivities();
@@ -77,4 +76,4 @@ struct GCM_EXPORT RecordedActivities {
} // namespace gcm
-#endif // GOOGLE_APIS_GCM_GCM_ACTIVITY_H_
+#endif // COMPONENTS_GCM_DRIVER_GCM_ACTIVITY_H_
« no previous file with comments | « components/gcm_driver/fake_gcm_client_factory.cc ('k') | components/gcm_driver/gcm_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698