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

Side by Side Diff: remoting/host/setup/win/load_string_from_resource.cc

Issue 11090063: [Chromoting] Add a simple Windows app that registers and starts a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix non-standard resource header file. Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #include "remoting/host/setup/win/load_string_from_resource.h"
6
7 namespace remoting {
8
9 CAtlString LoadStringFromResource(int id) {
10 CAtlString s;
11 if (!s.LoadString(id)) {
12 s.Format(L"Missing resource %d", id);
13 }
14 return s;
15 }
16
17 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/setup/win/load_string_from_resource.h ('k') | remoting/host/setup/win/start_host_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698