Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: remoting/test/remote_application_data.h

Issue 1008043003: Adding Test Fixture for initial test cases for the App Remoting Test Driver. Also includes the pub… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/test/remote_application_data.h
diff --git a/remoting/test/remote_application_data.h b/remoting/test/remote_application_data.h
new file mode 100644
index 0000000000000000000000000000000000000000..84528caac845120ae496a3b4ff15853c884c1288
--- /dev/null
+++ b/remoting/test/remote_application_data.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_TEST_REMOTE_APPLICATION_DATA_H_
+#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.
+
+#include <map>
+#include <string>
+#include <vector>
+
+namespace remoting {
+namespace test {
+
+const char kHostProcessWindowTitle[] = "Host Process";
+
+// Container for application specific information.
+struct ApplicationInfo {
+ ApplicationInfo(const std::string& app_id,
+ const std::string& window_name)
+ : application_id(app_id), main_window_name(window_name) {}
+
+ std::string application_id;
+ std::string main_window_name;
+};
+
+// Returns a vector of the supported remote application names.
+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.
+
+// Returns a map with remote application info indexed by application name.
+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.
+
+} // namespace test
+} // namespace remoting
+
+#endif // REMOTING_TEST_REMOTE_APPLICATION_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698