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/plugin/daemon_installer_win.h" | 5 #include "remoting/host/plugin/daemon_installer_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/timer.h" | 15 #include "base/timer.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "base/win/object_watcher.h" | 17 #include "base/win/object_watcher.h" |
18 #include "base/win/registry.h" | 18 #include "base/win/registry.h" |
19 #include "base/win/scoped_bstr.h" | 19 #include "base/win/scoped_bstr.h" |
20 #include "base/win/scoped_comptr.h" | 20 #include "base/win/scoped_comptr.h" |
21 #include "base/win/scoped_handle.h" | 21 #include "base/win/scoped_handle.h" |
22 #include "base/win/scoped_variant.h" | 22 #include "base/win/scoped_variant.h" |
23 #include "base/win/windows_version.h" | 23 #include "base/win/windows_version.h" |
24 #include "google_update/google_update_idl.h" | 24 #include "google_update/google_update_idl.h" |
25 #include "remoting/base/dispatch_win.h" | 25 #include "remoting/base/dispatch_win.h" |
26 #include "remoting/host/win/omaha.h" | 26 #include "remoting/host/constants.h" |
27 | 27 |
28 using base::win::ScopedBstr; | 28 using base::win::ScopedBstr; |
29 using base::win::ScopedComPtr; | 29 using base::win::ScopedComPtr; |
30 using base::win::ScopedVariant; | 30 using base::win::ScopedVariant; |
31 | 31 |
32 namespace { | 32 namespace { |
33 | 33 |
34 // ProgID of the per-machine Omaha COM server. | 34 // ProgID of the per-machine Omaha COM server. |
35 const wchar_t kGoogleUpdate[] = L"GoogleUpdate.Update3WebMachine"; | 35 const wchar_t kGoogleUpdate[] = L"GoogleUpdate.Update3WebMachine"; |
36 | 36 |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 HWND parent = GetAncestor(window, GA_PARENT); | 400 HWND parent = GetAncestor(window, GA_PARENT); |
401 if (parent == NULL) { | 401 if (parent == NULL) { |
402 return window; | 402 return window; |
403 } | 403 } |
404 | 404 |
405 window = parent; | 405 window = parent; |
406 } | 406 } |
407 } | 407 } |
408 | 408 |
409 } // namespace remoting | 409 } // namespace remoting |
OLD | NEW |