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

Unified Diff: components/gcm_driver/gcm_internals_constants.h

Issue 1339803003: Move gcm_internals resources and constants to //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gritsettings Created 5 years, 3 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/BUILD.gn ('k') | components/gcm_driver/gcm_internals_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_internals_constants.h
diff --git a/components/gcm_driver/gcm_internals_constants.h b/components/gcm_driver/gcm_internals_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..542501efba363bc49f757e608cde5fee9fafe28d
--- /dev/null
+++ b/components/gcm_driver/gcm_internals_constants.h
@@ -0,0 +1,43 @@
+// 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 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 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[];
+
+} // namespace gcm_driver
+
+#endif // COMPONENTS_GCM_DRIVER_GCM_INTERNALS_CONSTANTS_H_
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/gcm_internals_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698