OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_OBSERVER_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 |
| 10 // Observes events and changes in the PushMessagingService. |
| 11 class PushMessagingServiceObserver { |
| 12 public: |
| 13 // Creates a new PushMessagingServiceObserver. |
| 14 static scoped_ptr<PushMessagingServiceObserver> Create(); |
| 15 |
| 16 // Called when a push message has been fully handled. |
| 17 virtual void OnMessageHandled() = 0; |
| 18 }; |
| 19 |
| 20 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_OBSERVER_H_ |
OLD | NEW |