OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ | 5 #ifndef BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ |
6 #define BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ | 6 #define BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <unordered_map> | 9 #include <unordered_map> |
10 | 10 |
11 namespace blimp { | 11 namespace blimp { |
12 namespace client { | 12 namespace client { |
| 13 class BlimpContentsManager; |
| 14 |
13 // Denotes whether Blimp is supported in the current. | 15 // Denotes whether Blimp is supported in the current. |
14 extern const char kFeedbackSupportedKey[]; | 16 extern const char kFeedbackSupportedKey[]; |
| 17 // Denotes whether there exists any visible BlimpContents. |
| 18 extern const char kFeedbackHasVisibleBlimpContents[]; |
15 | 19 |
16 // Creates a data object containing data about Blimp to be used for feedback. | 20 // Creates a data object containing data about Blimp to be used for feedback. |
17 std::unordered_map<std::string, std::string> CreateBlimpFeedbackData(); | 21 std::unordered_map<std::string, std::string> CreateBlimpFeedbackData( |
| 22 BlimpContentsManager* blimp_contents_manager); |
18 | 23 |
19 } // namespace client | 24 } // namespace client |
20 } // namespace blimp | 25 } // namespace blimp |
21 | 26 |
22 #endif // BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ | 27 #endif // BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ |
OLD | NEW |