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

Unified Diff: google_apis/gcm/engine/registration_info.h

Issue 1137463003: Support getting and deleting token for Instance ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to land Created 5 years, 7 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: google_apis/gcm/engine/registration_info.h
diff --git a/google_apis/gcm/engine/registration_info.h b/google_apis/gcm/engine/registration_info.h
deleted file mode 100644
index c06a6aa4c560a489b8a8e1b813bf4699e6c2dfe2..0000000000000000000000000000000000000000
--- a/google_apis/gcm/engine/registration_info.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 GOOGLE_APIS_GCM_ENGINE_REGISTRATION_INFO_H_
-#define GOOGLE_APIS_GCM_ENGINE_REGISTRATION_INFO_H_
-
-#include <map>
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/memory/linked_ptr.h"
-#include "google_apis/gcm/base/gcm_export.h"
-
-namespace gcm {
-
-struct GCM_EXPORT RegistrationInfo {
- RegistrationInfo();
- ~RegistrationInfo();
-
- std::string SerializeAsString() const;
- bool ParseFromString(const std::string& value);
-
- std::vector<std::string> sender_ids;
- std::string registration_id;
-};
-
-// Map of app id to registration info.
-typedef std::map<std::string, linked_ptr<RegistrationInfo> >
-RegistrationInfoMap;
-
-} // namespace gcm
-
-#endif // GOOGLE_APIS_GCM_ENGINE_REGISTRATION_INFO_H_
« no previous file with comments | « google_apis/gcm/engine/instance_id_get_token_request_handler.cc ('k') | google_apis/gcm/engine/registration_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698