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_ANDROID_H_ | |
6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_OBSERVER_ANDROID_H_ | |
7 | |
8 #include "chrome/browser/push_messaging/push_messaging_service_observer.h" | |
9 | |
10 #include <jni.h> | |
11 | |
12 #include "base/macros.h" | |
13 | |
14 class PushMessagingServiceObserverAndroid | |
Peter Beverloo
2015/12/10 18:47:52
// Observer for the PushMessagingService to be use
Michael van Ouwerkerk
2015/12/11 11:23:54
Done.
| |
15 : public PushMessagingServiceObserver { | |
16 public: | |
17 static bool RegisterJni(JNIEnv* env); | |
18 void OnMessageHandled() override; | |
Peter Beverloo
2015/12/10 18:47:52
nit: // PushMessagingServiceObserver implementatio
Michael van Ouwerkerk
2015/12/11 11:23:54
Done.
| |
19 | |
20 private: | |
21 friend class PushMessagingServiceObserver; | |
22 PushMessagingServiceObserverAndroid() {} | |
23 | |
24 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceObserverAndroid); | |
25 }; | |
26 | |
27 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_OBSERVER_ANDROID _H_ | |
OLD | NEW |