OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome_frame/update_launcher.h" | 5 #include "chrome_frame/update_launcher.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <Shellapi.h> | 8 #include <Shellapi.h> |
9 | 9 |
10 #include "google_update_idl.h" // NOLINT | 10 #include "google_update/google_update_idl.h" |
11 | 11 |
12 namespace { | 12 namespace { |
13 | 13 |
14 const wchar_t kChromeFrameGuid[] = L"{8BA986DA-5100-405E-AA35-86F34A02ACBF}"; | 14 const wchar_t kChromeFrameGuid[] = L"{8BA986DA-5100-405E-AA35-86F34A02ACBF}"; |
15 | 15 |
16 const DWORD kLaunchFailureExitCode = 0xFF; | 16 const DWORD kLaunchFailureExitCode = 0xFF; |
17 | 17 |
18 const wchar_t kUpdateCommandFlag[] = L"--update-cmd"; | 18 const wchar_t kUpdateCommandFlag[] = L"--update-cmd"; |
19 | 19 |
20 // Waits indefinitely for the provided process to exit. Returns the process's | 20 // Waits indefinitely for the provided process to exit. Returns the process's |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 if (ipl) | 85 if (ipl) |
86 ipl->Release(); | 86 ipl->Release(); |
87 | 87 |
88 ::CoUninitialize(); | 88 ::CoUninitialize(); |
89 } | 89 } |
90 | 90 |
91 return exit_code; | 91 return exit_code; |
92 } | 92 } |
93 | 93 |
94 } // namespace process_launcher | 94 } // namespace process_launcher |
OLD | NEW |