Index: chrome/browser/services/gcm/push_messaging_application_id.h |
diff --git a/chrome/browser/services/gcm/push_messaging_application_id.h b/chrome/browser/services/gcm/push_messaging_application_id.h |
index 54f14807f2ce9650a0f4785128a9157ca985584e..e4137a68c3b0bef952dbe4a38b4b47efce6d3aa8 100644 |
--- a/chrome/browser/services/gcm/push_messaging_application_id.h |
+++ b/chrome/browser/services/gcm/push_messaging_application_id.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_APPLICATION_ID_H_ |
#include <string> |
+#include <vector> |
#include "base/basictypes.h" |
#include "url/gurl.h" |
@@ -44,6 +45,10 @@ class PushMessagingApplicationId { |
const GURL& origin, |
int64 service_worker_registration_id); |
+ // Returns all the PushMessagingApplicationId currently registered for the |
+ // given |profile|. |
+ static std::vector<PushMessagingApplicationId> GetAll(Profile* profile); |
+ |
~PushMessagingApplicationId(); |
// Persist this application id to disk. |