OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/setup/win/start_host_window.h" | 5 #include "remoting/host/setup/win/start_host_window.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlwin.h> | 8 #include <atlwin.h> |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "google_apis/gaia/gaia_urls.h" | 14 #include "google_apis/gaia/gaia_urls.h" |
15 #include "remoting/host/service_urls.h" | 15 #include "remoting/host/service_urls.h" |
16 #include "remoting/host/setup/oauth_helper.h" | 16 #include "remoting/host/setup/oauth_helper.h" |
17 #include "remoting/host/setup/pin_validator.h" | 17 #include "remoting/host/setup/pin_validator.h" |
18 #include "remoting/host/setup/win/load_string_from_resource.h" | 18 #include "remoting/host/setup/win/load_string_from_resource.h" |
19 | 19 |
20 namespace remoting { | 20 namespace remoting { |
21 | 21 |
22 StartHostWindow::StartHostWindow( | 22 StartHostWindow::StartHostWindow( |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 } | 97 } |
98 } | 98 } |
99 | 99 |
100 std::string StartHostWindow::GetDlgItemString(int id) { | 100 std::string StartHostWindow::GetDlgItemString(int id) { |
101 CSimpleString str(L"", &string_mgr_); | 101 CSimpleString str(L"", &string_mgr_); |
102 GetDlgItemText(id, str); | 102 GetDlgItemText(id, str); |
103 return UTF16ToUTF8(str.GetString()); | 103 return UTF16ToUTF8(str.GetString()); |
104 } | 104 } |
105 | 105 |
106 } // namespace remoting | 106 } // namespace remoting |
OLD | NEW |