| 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 "chrome/browser/shell_integration_win.h" | 5 #include "chrome/browser/shell_integration_win.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <shlwapi.h> | 8 #include <shlwapi.h> |
| 9 #include <shobjidl.h> | 9 #include <shobjidl.h> |
| 10 #include <propkey.h> // Needs to come after shobjidl.h. | 10 #include <propkey.h> // Needs to come after shobjidl.h. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "chrome/browser/web_applications/web_app.h" | 43 #include "chrome/browser/web_applications/web_app.h" |
| 44 #include "chrome/browser/win/settings_app_monitor.h" | 44 #include "chrome/browser/win/settings_app_monitor.h" |
| 45 #include "chrome/common/chrome_constants.h" | 45 #include "chrome/common/chrome_constants.h" |
| 46 #include "chrome/common/chrome_paths_internal.h" | 46 #include "chrome/common/chrome_paths_internal.h" |
| 47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
| 48 #include "chrome/common/shell_handler_win.mojom.h" | 48 #include "chrome/common/shell_handler_win.mojom.h" |
| 49 #include "chrome/grit/generated_resources.h" | 49 #include "chrome/grit/generated_resources.h" |
| 50 #include "chrome/install_static/install_util.h" | 50 #include "chrome/install_static/install_util.h" |
| 51 #include "chrome/installer/setup/setup_util.h" | 51 #include "chrome/installer/setup/setup_util.h" |
| 52 #include "chrome/installer/util/browser_distribution.h" | 52 #include "chrome/installer/util/browser_distribution.h" |
| 53 #include "chrome/installer/util/create_reg_key_work_item.h" | |
| 54 #include "chrome/installer/util/install_util.h" | 53 #include "chrome/installer/util/install_util.h" |
| 55 #include "chrome/installer/util/scoped_user_protocol_entry.h" | 54 #include "chrome/installer/util/scoped_user_protocol_entry.h" |
| 56 #include "chrome/installer/util/set_reg_value_work_item.h" | |
| 57 #include "chrome/installer/util/shell_util.h" | 55 #include "chrome/installer/util/shell_util.h" |
| 58 #include "chrome/installer/util/util_constants.h" | |
| 59 #include "chrome/installer/util/work_item.h" | |
| 60 #include "chrome/installer/util/work_item_list.h" | |
| 61 #include "components/variations/variations_associated_data.h" | 56 #include "components/variations/variations_associated_data.h" |
| 62 #include "content/public/browser/browser_thread.h" | 57 #include "content/public/browser/browser_thread.h" |
| 63 #include "content/public/browser/utility_process_mojo_client.h" | 58 #include "content/public/browser/utility_process_mojo_client.h" |
| 64 #include "ui/base/l10n/l10n_util.h" | 59 #include "ui/base/l10n/l10n_util.h" |
| 65 | 60 |
| 66 using content::BrowserThread; | 61 using content::BrowserThread; |
| 67 | 62 |
| 68 namespace shell_integration { | 63 namespace shell_integration { |
| 69 | 64 |
| 70 namespace { | 65 namespace { |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 base::win::SHORTCUT_UPDATE_EXISTING)) { | 850 base::win::SHORTCUT_UPDATE_EXISTING)) { |
| 856 ++shortcuts_migrated; | 851 ++shortcuts_migrated; |
| 857 } | 852 } |
| 858 } | 853 } |
| 859 return shortcuts_migrated; | 854 return shortcuts_migrated; |
| 860 } | 855 } |
| 861 | 856 |
| 862 } // namespace win | 857 } // namespace win |
| 863 | 858 |
| 864 } // namespace shell_integration | 859 } // namespace shell_integration |
| OLD | NEW |