Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: chrome/installer/setup/uninstall.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // This file defines the methods useful for uninstalling Chrome. 5 // This file defines the methods useful for uninstalling Chrome.
6 6
7 #include "chrome/installer/setup/uninstall.h" 7 #include "chrome/installer/setup/uninstall.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "base/win/registry.h" 14 #include "base/win/registry.h"
15 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
16 #include "base/win/windows_version.h" 16 #include "base/win/windows_version.h"
17 #include "chrome/common/result_codes.h"
18 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/chrome_paths_internal.h" 18 #include "chrome/common/chrome_paths_internal.h"
20 #include "chrome/installer/setup/install.h" 19 #include "chrome/installer/setup/install.h"
21 #include "chrome/installer/setup/install_worker.h" 20 #include "chrome/installer/setup/install_worker.h"
22 #include "chrome/installer/setup/setup_constants.h" 21 #include "chrome/installer/setup/setup_constants.h"
23 #include "chrome/installer/util/browser_distribution.h" 22 #include "chrome/installer/util/browser_distribution.h"
24 #include "chrome/installer/util/channel_info.h" 23 #include "chrome/installer/util/channel_info.h"
25 #include "chrome/installer/util/delete_after_reboot_helper.h" 24 #include "chrome/installer/util/delete_after_reboot_helper.h"
26 #include "chrome/installer/util/google_update_constants.h" 25 #include "chrome/installer/util/google_update_constants.h"
27 #include "chrome/installer/util/helper.h" 26 #include "chrome/installer/util/helper.h"
28 #include "chrome/installer/util/install_util.h" 27 #include "chrome/installer/util/install_util.h"
29 #include "chrome/installer/util/installation_state.h" 28 #include "chrome/installer/util/installation_state.h"
30 #include "chrome/installer/util/installer_state.h" 29 #include "chrome/installer/util/installer_state.h"
31 #include "chrome/installer/util/logging_installer.h" 30 #include "chrome/installer/util/logging_installer.h"
32 #include "chrome/installer/util/self_cleaning_temp_dir.h" 31 #include "chrome/installer/util/self_cleaning_temp_dir.h"
33 #include "chrome/installer/util/shell_util.h" 32 #include "chrome/installer/util/shell_util.h"
34 #include "chrome/installer/util/util_constants.h" 33 #include "chrome/installer/util/util_constants.h"
34 #include "content/common/result_codes.h"
35 #include "rlz/win/lib/rlz_lib.h" 35 #include "rlz/win/lib/rlz_lib.h"
36 36
37 // Build-time generated include file. 37 // Build-time generated include file.
38 #include "registered_dlls.h" // NOLINT 38 #include "registered_dlls.h" // NOLINT
39 39
40 using base::win::RegKey; 40 using base::win::RegKey;
41 using installer::InstallStatus; 41 using installer::InstallStatus;
42 using installer::MasterPreferences; 42 using installer::MasterPreferences;
43 43
44 namespace { 44 namespace {
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 811
812 // Try and delete the preserved local state once the post-install 812 // Try and delete the preserved local state once the post-install
813 // operations are complete. 813 // operations are complete.
814 if (!backup_state_file.empty()) 814 if (!backup_state_file.empty())
815 file_util::Delete(backup_state_file, false); 815 file_util::Delete(backup_state_file, false);
816 816
817 return ret; 817 return ret;
818 } 818 }
819 819
820 } // namespace installer 820 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/common/set_process_title_linux.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698