| Index: remoting/host/setup/win/load_string_from_resource.cc
|
| diff --git a/remoting/host/setup/win/load_string_from_resource.cc b/remoting/host/setup/win/load_string_from_resource.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..140638f7f6fa9a5bd33c3359b62ff7cd3604926a
|
| --- /dev/null
|
| +++ b/remoting/host/setup/win/load_string_from_resource.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2012 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/host/setup/win/load_string_from_resource.h"
|
| +
|
| +namespace remoting {
|
| +
|
| +CAtlString LoadStringFromResource(int id) {
|
| + CAtlString s;
|
| + if (!s.LoadString(id)) {
|
| + s.Format(L"Missing resource %d", id);
|
| + }
|
| + return s;
|
| +}
|
| +
|
| +} // namespace remoting
|
|
|