OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ | 5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ |
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ | 6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... | |
34 const std::string& subscription_id, | 34 const std::string& subscription_id, |
35 const std::vector<Message>& message) = 0; | 35 const std::vector<Message>& message) = 0; |
36 | 36 |
37 virtual net::URLRequestContextGetter* GetRequestContext() const = 0; | 37 virtual net::URLRequestContextGetter* GetRequestContext() const = 0; |
38 | 38 |
39 virtual const std::string GetPlatformVersionString() const = 0; | 39 virtual const std::string GetPlatformVersionString() const = 0; |
40 | 40 |
41 virtual const std::string GetAPIKey() const = 0; | 41 virtual const std::string GetAPIKey() const = 0; |
42 | 42 |
43 virtual WhispernetClient* GetWhispernetClient() = 0; | 43 virtual WhispernetClient* GetWhispernetClient() = 0; |
44 | |
45 virtual ~CopresenceDelegate() {} | |
Daniel Erat
2014/10/21 19:43:22
nit: move this to the top
rkc
2014/10/22 00:06:20
Done.
| |
44 }; | 46 }; |
45 | 47 |
46 } // namespace copresence | 48 } // namespace copresence |
47 | 49 |
48 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ | 50 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_DELEGATE_H_ |
OLD | NEW |