| 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 defines the methods useful for uninstalling Chrome. | 5 // This file defines the methods useful for uninstalling Chrome. |
| 6 | 6 |
| 7 //Pickup file for readability review. |
| 8 |
| 7 #include "chrome/installer/setup/uninstall.h" | 9 #include "chrome/installer/setup/uninstall.h" |
| 8 | 10 |
| 9 #include <windows.h> | 11 #include <windows.h> |
| 10 | 12 |
| 11 #include <vector> | 13 #include <vector> |
| 12 | 14 |
| 13 #include "base/file_util.h" | 15 #include "base/file_util.h" |
| 14 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| 15 #include "base/process_util.h" | 17 #include "base/process_util.h" |
| 16 #include "base/string16.h" | 18 #include "base/string16.h" |
| (...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 | 1201 |
| 1200 // Try and delete the preserved local state once the post-install | 1202 // Try and delete the preserved local state once the post-install |
| 1201 // operations are complete. | 1203 // operations are complete. |
| 1202 if (!backup_state_file.empty()) | 1204 if (!backup_state_file.empty()) |
| 1203 file_util::Delete(backup_state_file, false); | 1205 file_util::Delete(backup_state_file, false); |
| 1204 | 1206 |
| 1205 return ret; | 1207 return ret; |
| 1206 } | 1208 } |
| 1207 | 1209 |
| 1208 } // namespace installer | 1210 } // namespace installer |
| OLD | NEW |