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_MANAGER_H_ | 5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ |
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ | 6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "components/copresence/public/copresence_delegate.h" | 11 #include "components/copresence/public/copresence_delegate.h" |
11 | 12 |
12 namespace copresence { | 13 namespace copresence { |
13 | 14 |
14 class CopresenceState; | 15 class CopresenceState; |
15 class ReportRequest; | 16 class ReportRequest; |
16 | 17 |
17 // The CopresenceManager class is the central interface for Copresence | 18 // The CopresenceManager class is the central interface for Copresence |
18 // functionality. This class handles all the initialization and delegation | 19 // functionality. This class handles all the initialization and delegation |
19 // of copresence tasks. Any user of copresence only needs to interact | 20 // of copresence tasks. Any user of copresence only needs to interact |
(...skipping 16 matching lines...) Expand all Loading... |
36 const std::string& auth_token, | 37 const std::string& auth_token, |
37 const StatusCallback& callback) = 0; | 38 const StatusCallback& callback) = 0; |
38 | 39 |
39 private: | 40 private: |
40 DISALLOW_COPY_AND_ASSIGN(CopresenceManager); | 41 DISALLOW_COPY_AND_ASSIGN(CopresenceManager); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace copresence | 44 } // namespace copresence |
44 | 45 |
45 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ | 46 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_MANAGER_H_ |
OLD | NEW |