| 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; | 13 class BlimpContentsManager; |
| 14 | 14 |
| 15 // Denotes whether Blimp is supported in the current. | 15 // Denotes whether Blimp is supported in the current. |
| 16 extern const char kFeedbackSupportedKey[]; | 16 extern const char kFeedbackSupportedKey[]; |
| 17 // Denotes whether there exists any visible BlimpContents. | 17 // Denotes whether there exists any visible BlimpContents. |
| 18 extern const char kFeedbackHasVisibleBlimpContents[]; | 18 extern const char kFeedbackHasVisibleBlimpContents[]; |
| 19 // Denotes the user name for the current logged in user. |
| 20 extern const char kFeedbackUserNameKey[]; |
| 19 | 21 |
| 20 // Creates a data object containing data about Blimp to be used for feedback. | 22 // Creates a data object containing data about Blimp to be used for feedback. |
| 21 std::unordered_map<std::string, std::string> CreateBlimpFeedbackData( | 23 std::unordered_map<std::string, std::string> CreateBlimpFeedbackData( |
| 22 BlimpContentsManager* blimp_contents_manager); | 24 BlimpContentsManager* blimp_contents_manager, |
| 25 const std::string& username); |
| 23 | 26 |
| 24 } // namespace client | 27 } // namespace client |
| 25 } // namespace blimp | 28 } // namespace blimp |
| 26 | 29 |
| 27 #endif // BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ | 30 #endif // BLIMP_CLIENT_CORE_FEEDBACK_BLIMP_FEEDBACK_DATA_H_ |
| OLD | NEW |