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

Unified Diff: remoting/test/remote_application_data.cc

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.cc
diff --git a/remoting/test/remote_application_data.cc b/remoting/test/remote_application_data.cc
new file mode 100644
index 0000000000000000000000000000000000000000..72e557fcaeabe087435c5362a1ebf056c21464fc
--- /dev/null
+++ b/remoting/test/remote_application_data.cc
@@ -0,0 +1,27 @@
+// 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.
+
+#include "remoting/test/remote_application_data.h"
+
+#include <map>
+#include <string>
+#include <vector>
+
+namespace remoting {
+namespace test {
+
+static const std::vector<std::string> kRemoteApplicationNames;
+
+const std::vector<std::string>& GetRemoteApplicationNames() {
+ return remoting::test::kRemoteApplicationNames;
Wez 2015/03/16 22:19:10 Why do you want to return an empty vector here..?
joedow 2015/03/18 20:13:09 Done.
+}
+
+static const std::map<std::string, ApplicationInfo> kRemoteApplicationInfoMap;
+
+const std::map<std::string, ApplicationInfo>& GetRemoteApplicationInfoMap() {
+ return remoting::test::kRemoteApplicationInfoMap;
Wez 2015/03/16 22:19:10 Why do you want to return an empty map here...?
joedow 2015/03/18 20:13:09 Done.
+}
+
+} // namespace test
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698