Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 REMOTING_TEST_REMOTE_APPLICATION_DATA_H_ | |
| 6 #define REMOTING_TEST_REMOTE_APPLICATION_DATA_H_ | |
|
Wez
2015/03/16 22:19:10
nit: Make the filename & guard macro consistent wi
joedow
2015/03/18 20:13:09
Done.
| |
| 7 | |
| 8 #include <map> | |
| 9 #include <string> | |
| 10 #include <vector> | |
| 11 | |
| 12 namespace remoting { | |
| 13 namespace test { | |
| 14 | |
| 15 const char kHostProcessWindowTitle[] = "Host Process"; | |
| 16 | |
| 17 // Container for application specific information. | |
| 18 struct ApplicationInfo { | |
| 19 ApplicationInfo(const std::string& app_id, | |
| 20 const std::string& window_name) | |
| 21 : application_id(app_id), main_window_name(window_name) {} | |
| 22 | |
| 23 std::string application_id; | |
| 24 std::string main_window_name; | |
| 25 }; | |
| 26 | |
| 27 // Returns a vector of the supported remote application names. | |
| 28 const std::vector<std::string>& GetRemoteApplicationNames(); | |
|
Wez
2015/03/16 22:19:10
It's confusing that you refer to this as the "appl
joedow
2015/03/18 20:13:09
Done.
| |
| 29 | |
| 30 // Returns a map with remote application info indexed by application name. | |
| 31 const std::map<std::string, ApplicationInfo>& GetRemoteApplicationInfoMap(); | |
|
Wez
2015/03/16 22:19:10
Again, it's not clear what the "name" is in this i
joedow
2015/03/18 20:13:09
Done.
| |
| 32 | |
| 33 } // namespace test | |
| 34 } // namespace remoting | |
| 35 | |
| 36 #endif // REMOTING_TEST_REMOTE_APPLICATION_DATA_H_ | |
| OLD | NEW |