OLD | NEW |
(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_INVALIDATION_HANDLER_OBSERV
ER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERV
ER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 class InvalidationHandlerObserver { |
| 13 public: |
| 14 virtual ~InvalidationHandlerObserver() {} |
| 15 virtual void OnMessage(const std::string& extension_id, |
| 16 int subchannel, |
| 17 const std::string& payload) = 0; |
| 18 }; |
| 19 |
| 20 } // namespace extensions |
| 21 |
| 22 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_INVALIDATION_HANDLER_OBS
ERVER_H_ |
OLD | NEW |