Chromium Code Reviews| 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 |