Chromium Code Reviews| Index: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_observer.h |
| diff --git a/chrome/browser/extensions/api/push_messaging/invalidation_handler_observer.h b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_observer.h |
| similarity index 58% |
| rename from chrome/browser/extensions/api/push_messaging/invalidation_handler_observer.h |
| rename to chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_observer.h |
| index f1f42f23974333c191f93348334f9cc7bd9be5fb..be44da25afac4655d7981dc9ac697211cb6d2b21 100644 |
| --- a/chrome/browser/extensions/api/push_messaging/invalidation_handler_observer.h |
| +++ b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_observer.h |
| @@ -2,8 +2,8 @@ |
| // 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_INVALIDATION_HANDLER_OBSERVER_H_ |
| -#define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERVER_H_ |
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERVER_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERVER_H_ |
| #include <string> |
| @@ -12,9 +12,9 @@ namespace extensions { |
| // Observer interface for the push messaging invalidation handler. For each |
| // object that was invalidated, OnMessage() will be called back once for that |
| // object. |
| -class InvalidationHandlerObserver { |
| +class PushMessagingInvalidationHandlerObserver { |
| public: |
| - virtual ~InvalidationHandlerObserver() {} |
| + virtual ~PushMessagingInvalidationHandlerObserver() {} |
|
akalin
2012/08/20 20:35:01
protected destructor?
dcheng
2012/08/20 20:58:21
Done.
|
| virtual void OnMessage(const std::string& extension_id, |
| int subchannel, |
| const std::string& payload) = 0; |
| @@ -22,4 +22,4 @@ class InvalidationHandlerObserver { |
| } // namespace extensions |
| -#endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERVER_H_ |
| +#endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_INVALIDATION_HANDLER_OBSERVER_H_ |