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

Unified Diff: content/public/browser/push_messaging_service.h

Issue 327423006: Revert r276792 - "Hook PushMessagingMessageFilter up to GCMDriver" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « content/public/browser/browser_context.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/push_messaging_service.h
diff --git a/content/public/browser/push_messaging_service.h b/content/public/browser/push_messaging_service.h
deleted file mode 100644
index 92a0f09d816f7351e7d5f6c0e4ce298cc5b4c91f..0000000000000000000000000000000000000000
--- a/content/public/browser/push_messaging_service.h
+++ /dev/null
@@ -1,33 +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 CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
-#define CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "content/common/content_export.h"
-#include "url/gurl.h"
-
-namespace content {
-
-// A push service-agnostic interface that the Push API uses for talking to
-// push messaging services like GCM.
-class CONTENT_EXPORT PushMessagingService {
- public:
- typedef base::Callback<void(const GURL& /* endpoint */,
- const std::string& /* registration_id */,
- bool /* error */)>
- RegisterCallback;
-
- virtual ~PushMessagingService() {}
- virtual void Register(const std::string& app_id,
- const std::string& sender_id,
- const RegisterCallback& callback) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
« no previous file with comments | « content/public/browser/browser_context.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698