| 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 #import "chrome/browser/web_applications/web_app_mac.h" | 5 #import "chrome/browser/web_applications/web_app_mac.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "base/memory/ref_counted.h" | 22 #include "base/memory/ref_counted.h" |
| 23 #include "base/metrics/histogram_macros.h" | 23 #include "base/metrics/histogram_macros.h" |
| 24 #include "base/path_service.h" | 24 #include "base/path_service.h" |
| 25 #include "base/process/process_handle.h" | 25 #include "base/process/process_handle.h" |
| 26 #include "base/strings/string16.h" | 26 #include "base/strings/string16.h" |
| 27 #include "base/strings/string_number_conversions.h" | 27 #include "base/strings/string_number_conversions.h" |
| 28 #include "base/strings/string_split.h" | 28 #include "base/strings/string_split.h" |
| 29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
| 30 #include "base/strings/sys_string_conversions.h" | 30 #include "base/strings/sys_string_conversions.h" |
| 31 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
| 32 #include "base/threading/sequenced_worker_pool.h" |
| 32 #include "base/version.h" | 33 #include "base/version.h" |
| 33 #include "chrome/browser/browser_process.h" | 34 #include "chrome/browser/browser_process.h" |
| 34 #include "chrome/browser/extensions/extension_ui_util.h" | 35 #include "chrome/browser/extensions/extension_ui_util.h" |
| 35 #import "chrome/browser/mac/dock.h" | 36 #import "chrome/browser/mac/dock.h" |
| 36 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
| 37 #include "chrome/browser/profiles/profile_manager.h" | 38 #include "chrome/browser/profiles/profile_manager.h" |
| 38 #include "chrome/browser/shell_integration.h" | 39 #include "chrome/browser/shell_integration.h" |
| 39 #include "chrome/browser/ui/app_list/app_list_service.h" | 40 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 40 #include "chrome/common/channel_info.h" | 41 #include "chrome/common/channel_info.h" |
| 41 #include "chrome/common/chrome_constants.h" | 42 #include "chrome/common/chrome_constants.h" |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 std::unique_ptr<web_app::ShortcutInfo> shortcut_info = | 1066 std::unique_ptr<web_app::ShortcutInfo> shortcut_info = |
| 1066 BuildShortcutInfoFromBundle(*it); | 1067 BuildShortcutInfoFromBundle(*it); |
| 1067 WebAppShortcutCreator shortcut_creator(it->DirName(), shortcut_info.get()); | 1068 WebAppShortcutCreator shortcut_creator(it->DirName(), shortcut_info.get()); |
| 1068 shortcut_creator.DeleteShortcuts(); | 1069 shortcut_creator.DeleteShortcuts(); |
| 1069 } | 1070 } |
| 1070 } | 1071 } |
| 1071 | 1072 |
| 1072 } // namespace internals | 1073 } // namespace internals |
| 1073 | 1074 |
| 1074 } // namespace web_app | 1075 } // namespace web_app |
| OLD | NEW |