summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/gcm_internals_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/gcm_driver/gcm_internals_constants.h')
-rw-r--r--chromium/components/gcm_driver/gcm_internals_constants.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/chromium/components/gcm_driver/gcm_internals_constants.h b/chromium/components/gcm_driver/gcm_internals_constants.h
new file mode 100644
index 00000000000..54623bc4303
--- /dev/null
+++ b/chromium/components/gcm_driver/gcm_internals_constants.h
@@ -0,0 +1,47 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_GCM_DRIVER_GCM_INTERNALS_CONSTANTS_H_
+#define COMPONENTS_GCM_DRIVER_GCM_INTERNALS_CONSTANTS_H_
+
+namespace gcm_driver {
+
+// Resource paths.
+// Must match the resource file names.
+extern const char kGcmInternalsCSS[];
+extern const char kGcmInternalsJS[];
+
+// Message handlers.
+// Must match the constants used in the resource files.
+extern const char kGetGcmInternalsInfo[];
+extern const char kSetGcmInternalsInfo[];
+extern const char kSetGcmInternalsRecording[];
+
+// GCM internal info.
+// Must match the constants used in the resource files.
+extern const char kAndroidId[];
+extern const char kAndroidSecret[];
+extern const char kCheckinInfo[];
+extern const char kConnectionClientCreated[];
+extern const char kConnectionInfo[];
+extern const char kConnectionState[];
+extern const char kDeviceInfo[];
+extern const char kGcmClientCreated[];
+extern const char kGcmClientState[];
+extern const char kGcmEnabled[];
+extern const char kIsRecording[];
+extern const char kLastCheckin[];
+extern const char kNextCheckin[];
+extern const char kProfileServiceCreated[];
+extern const char kReceiveInfo[];
+extern const char kRegisteredAppIds[];
+extern const char kRegistrationInfo[];
+extern const char kResendQueueSize[];
+extern const char kSendInfo[];
+extern const char kSendQueueSize[];
+extern const char kDecryptionFailureInfo[];
+
+} // namespace gcm_driver
+
+#endif // COMPONENTS_GCM_DRIVER_GCM_INTERNALS_CONSTANTS_H_