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