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

Unified Diff: components/gcm_driver/gcm_internals_constants.cc

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/gcm_internals_constants.h ('k') | components/gcm_driver/resources/gcm_internals.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_internals_constants.cc
diff --git a/components/gcm_driver/gcm_internals_constants.cc b/components/gcm_driver/gcm_internals_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..aad2da73b322bf1d7e47cefee71ce6b1b311138a
--- /dev/null
+++ b/components/gcm_driver/gcm_internals_constants.cc
@@ -0,0 +1,37 @@
+// 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.
+
+#include "components/gcm_driver/gcm_internals_constants.h"
+
+namespace gcm_driver {
+
+// Resource paths.
+const char kGcmInternalsCSS[] = "gcm_internals.css";
+const char kGcmInternalsJS[] = "gcm_internals.js";
+
+// Message handlers.
+const char kGetGcmInternalsInfo[] = "getGcmInternalsInfo";
+const char kSetGcmInternalsInfo[] = "gcmInternals.setGcmInternalsInfo";
+const char kSetGcmInternalsRecording[] = "setGcmInternalsRecording";
+
+// GCM internal info.
+const char kAndroidId[] = "androidId";
+const char kCheckinInfo[] = "checkinInfo";
+const char kConnectionClientCreated[] = "connectionClientCreated";
+const char kConnectionInfo[] = "connectionInfo";
+const char kConnectionState[] = "connectionState";
+const char kDeviceInfo[] = "deviceInfo";
+const char kGcmClientCreated[] = "gcmClientCreated";
+const char kGcmClientState[] = "gcmClientState";
+const char kGcmEnabled[] = "gcmEnabled";
+const char kIsRecording[] = "isRecording";
+const char kProfileServiceCreated[] = "profileServiceCreated";
+const char kReceiveInfo[] = "receiveInfo";
+const char kRegisteredAppIds[] = "registeredAppIds";
+const char kRegistrationInfo[] = "registrationInfo";
+const char kResendQueueSize[] = "resendQueueSize";
+const char kSendInfo[] = "sendInfo";
+const char kSendQueueSize[] = "sendQueueSize";
+
+} // namespace gcm_driver
« no previous file with comments | « components/gcm_driver/gcm_internals_constants.h ('k') | components/gcm_driver/resources/gcm_internals.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698