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 "win8/delegate_execute/chrome_util.h" | 5 #include "win8/delegate_execute/chrome_util.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
| 10 #include <stddef.h> |
10 | 11 |
11 #include <algorithm> | 12 #include <algorithm> |
12 #include <limits> | 13 #include <limits> |
13 #include <string> | 14 #include <string> |
14 | 15 |
15 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
16 #include "base/files/file_util.h" | 17 #include "base/files/file_util.h" |
| 18 #include "base/macros.h" |
17 #include "base/md5.h" | 19 #include "base/md5.h" |
18 #include "base/process/kill.h" | 20 #include "base/process/kill.h" |
19 #include "base/process/launch.h" | 21 #include "base/process/launch.h" |
20 #include "base/process/process.h" | 22 #include "base/process/process.h" |
21 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
22 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
23 #include "base/win/registry.h" | 25 #include "base/win/registry.h" |
24 #include "base/win/scoped_comptr.h" | 26 #include "base/win/scoped_comptr.h" |
25 #include "base/win/scoped_handle.h" | 27 #include "base/win/scoped_handle.h" |
26 #include "base/win/win_util.h" | 28 #include "base/win/win_util.h" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 AtlTrace("%hs. Failed to finalize update with exit code %d.\n", | 160 AtlTrace("%hs. Failed to finalize update with exit code %d.\n", |
159 __FUNCTION__, exit_code); | 161 __FUNCTION__, exit_code); |
160 } else { | 162 } else { |
161 AtlTrace("%hs. Finalized pending update.\n", __FUNCTION__); | 163 AtlTrace("%hs. Finalized pending update.\n", __FUNCTION__); |
162 } | 164 } |
163 } | 165 } |
164 #endif | 166 #endif |
165 } | 167 } |
166 | 168 |
167 } // delegate_execute | 169 } // delegate_execute |
OLD | NEW |