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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h

Issue 1018643003: Removing chrome.pushMessaging API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates to documentation per kalman's comments Created 5 years, 9 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: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h
deleted file mode 100644
index 07a7f4243faf185dc585e2f28b84f2a314fb23c0..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_delegate.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_DELEGATE_H_
-#define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_DELEGATE_H_
-
-#include <string>
-
-namespace extensions {
-
-// Delegate interface for the push messaging invalidation handler. For each
-// object that was invalidated, OnMessage() will be called back once for that
-// object.
-class PushMessagingInvalidationHandlerDelegate {
- public:
- virtual void OnMessage(const std::string& extension_id,
- int subchannel,
- const std::string& payload) = 0;
-
- protected:
- virtual ~PushMessagingInvalidationHandlerDelegate() {}
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698