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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION _HANDLER_DELEGATE_H_
7
8 #include <string>
9
10 namespace extensions {
11
12 // Delegate interface for the push messaging invalidation handler. For each
13 // object that was invalidated, OnMessage() will be called back once for that
14 // object.
15 class PushMessagingInvalidationHandlerDelegate {
16 public:
17 virtual void OnMessage(const std::string& extension_id,
18 int subchannel,
19 const std::string& payload) = 0;
20
21 protected:
22 virtual ~PushMessagingInvalidationHandlerDelegate() {}
23 };
24
25 } // namespace extensions
26
27 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDAT ION_HANDLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698