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 // This file declares utility functions for the installer. The original reason | 5 // This file declares utility functions for the installer. The original reason |
6 // for putting these functions in installer\util library is so that we can | 6 // for putting these functions in installer\util library is so that we can |
7 // separate out the critical logic and write unit tests for it. | 7 // separate out the critical logic and write unit tests for it. |
8 | 8 |
9 #ifndef CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ | 9 #ifndef CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ |
10 #define CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ | 10 #define CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ |
11 | 11 |
12 #include <windows.h> | 12 #include <windows.h> |
13 #include <tchar.h> | 13 #include <tchar.h> |
14 | 14 |
15 #include "base/basictypes.h" | |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/files/file.h" | 16 #include "base/files/file.h" |
18 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/macros.h" |
19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
20 #include "base/win/scoped_handle.h" | 20 #include "base/win/scoped_handle.h" |
21 #include "chrome/installer/util/browser_distribution.h" | 21 #include "chrome/installer/util/browser_distribution.h" |
22 #include "chrome/installer/util/util_constants.h" | 22 #include "chrome/installer/util/util_constants.h" |
23 | 23 |
24 class WorkItemList; | 24 class WorkItemList; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class Version; | 27 class Version; |
28 } | 28 } |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 private: | 210 private: |
211 DISALLOW_COPY_AND_ASSIGN(ProgramCompare); | 211 DISALLOW_COPY_AND_ASSIGN(ProgramCompare); |
212 }; // class ProgramCompare | 212 }; // class ProgramCompare |
213 | 213 |
214 private: | 214 private: |
215 DISALLOW_COPY_AND_ASSIGN(InstallUtil); | 215 DISALLOW_COPY_AND_ASSIGN(InstallUtil); |
216 }; | 216 }; |
217 | 217 |
218 | 218 |
219 #endif // CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ | 219 #endif // CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_ |
OLD | NEW |