Chromium Code Reviews| 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_ | |
|
Munjal (Google)
2012/07/31 17:36:12
I think Pete is using api/push/ folder in another
dcheng
2012/07/31 19:04:11
He's OOO this week. However, I talked to Mark abou
Munjal (Google)
2012/07/31 23:09:58
Okay, SG.
| |
| 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 { | |
|
Munjal (Google)
2012/07/31 17:36:12
It will be nice to have a description for this cla
dcheng
2012/07/31 19:04:11
Done.
| |
| 13 public: | |
| 14 virtual ~InvalidationHandlerObserver() {} | |
| 15 virtual void OnMessage(const std::string& extension_id, | |
| 16 int subchannel, | |
|
Munjal (Google)
2012/07/31 17:36:12
Nit: sub_channel?
dcheng
2012/07/31 19:04:11
I ended up picking subchannel since "subchannel" i
| |
| 17 const std::string& payload) = 0; | |
| 18 }; | |
|
Munjal (Google)
2012/07/31 17:36:12
Nit: I am not sure if we need DISALLOW_COPY_AND_AS
dcheng
2012/07/31 19:04:11
I took a look at several other pure virtual classe
| |
| 19 | |
| 20 } // namespace extensions | |
| 21 | |
| 22 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_INVALIDATION_HANDLER_OBS ERVER_H_ | |
| OLD | NEW |