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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc

Issue 1228763002: Introduce CryptAuthGCMManager, which handles GCM interactions for CryptAuth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
Index: components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc
diff --git a/components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc b/components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3b4bbfaee13a5f666021d82b68a5d7911a007b84
--- /dev/null
+++ b/components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc
@@ -0,0 +1,30 @@
+// 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/proximity_auth/cryptauth/cryptauth_gcm_manager.h"
+
+#include "base/prefs/pref_registry_simple.h"
+#include "components/proximity_auth/cryptauth/pref_names.h"
+
+namespace proximity_auth {
+
+CryptAuthGCMManager::Observer::~Observer() {
+}
+
+void CryptAuthGCMManager::Observer::OnGCMRegistrationResult(bool success) {
+}
+
+void CryptAuthGCMManager::Observer::OnReenrollMessage() {
+}
+
+void CryptAuthGCMManager::Observer::OnResyncMessage() {
+}
+
+// static.
+void CryptAuthGCMManager::RegisterPrefs(PrefRegistrySimple* registry) {
+ registry->RegisterStringPref(prefs::kCryptAuthGCMRegistrationId,
+ std::string());
+}
+
+} // namespace proximity_auth

Powered by Google App Engine
This is Rietveld 408576698