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_PUSH_MESSAGING_INVALIDATION
_MAPPER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION
_MAPPER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 // Interface for mapping extension IDs to object IDs. |
| 13 class PushMessagingInvalidationMapper { |
| 14 public: |
| 15 virtual ~PushMessagingInvalidationMapper() {} |
| 16 |
| 17 // Register/unregister the object IDs associated with |extension_id|. |
| 18 virtual void RegisterExtension(const std::string& extension_id) = 0; |
| 19 virtual void UnregisterExtension(const std::string& extension_id) = 0; |
| 20 }; |
| 21 |
| 22 } // namespace extensions |
| 23 |
| 24 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDAT
ION_MAPPER_H_ |
OLD | NEW |