| 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 <map> | 10 #include <map> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "chrome/browser/profiles/profile.h" | 39 #include "chrome/browser/profiles/profile.h" |
| 40 #include "chrome/browser/profiles/profile_manager.h" | 40 #include "chrome/browser/profiles/profile_manager.h" |
| 41 #include "chrome/browser/shell_integration.h" | 41 #include "chrome/browser/shell_integration.h" |
| 42 #include "chrome/browser/ui/app_list/app_list_service.h" | 42 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 43 #include "chrome/common/channel_info.h" | 43 #include "chrome/common/channel_info.h" |
| 44 #include "chrome/common/chrome_constants.h" | 44 #include "chrome/common/chrome_constants.h" |
| 45 #include "chrome/common/chrome_paths.h" | 45 #include "chrome/common/chrome_paths.h" |
| 46 #include "chrome/common/chrome_switches.h" | 46 #include "chrome/common/chrome_switches.h" |
| 47 #import "chrome/common/mac/app_mode_common.h" | 47 #import "chrome/common/mac/app_mode_common.h" |
| 48 #include "chrome/grit/chrome_unscaled_resources.h" | 48 #include "chrome/grit/chrome_unscaled_resources.h" |
| 49 #include "chrome/grit/generated_resources.h" | |
| 50 #include "components/crx_file/id_util.h" | 49 #include "components/crx_file/id_util.h" |
| 51 #include "components/version_info/version_info.h" | 50 #include "components/version_info/version_info.h" |
| 52 #include "content/public/browser/browser_thread.h" | 51 #include "content/public/browser/browser_thread.h" |
| 53 #include "content/public/common/content_switches.h" | 52 #include "content/public/common/content_switches.h" |
| 54 #include "extensions/browser/extension_registry.h" | 53 #include "extensions/browser/extension_registry.h" |
| 55 #include "extensions/common/extension.h" | 54 #include "extensions/common/extension.h" |
| 56 #import "skia/ext/skia_utils_mac.h" | 55 #import "skia/ext/skia_utils_mac.h" |
| 57 #include "third_party/skia/include/core/SkBitmap.h" | 56 #include "third_party/skia/include/core/SkBitmap.h" |
| 58 #include "third_party/skia/include/core/SkColor.h" | 57 #include "third_party/skia/include/core/SkColor.h" |
| 59 #include "third_party/skia/include/utils/mac/SkCGUtils.h" | 58 #include "third_party/skia/include/utils/mac/SkCGUtils.h" |
| (...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 std::unique_ptr<web_app::ShortcutInfo> shortcut_info = | 1106 std::unique_ptr<web_app::ShortcutInfo> shortcut_info = |
| 1108 BuildShortcutInfoFromBundle(*it); | 1107 BuildShortcutInfoFromBundle(*it); |
| 1109 WebAppShortcutCreator shortcut_creator(it->DirName(), shortcut_info.get()); | 1108 WebAppShortcutCreator shortcut_creator(it->DirName(), shortcut_info.get()); |
| 1110 shortcut_creator.DeleteShortcuts(); | 1109 shortcut_creator.DeleteShortcuts(); |
| 1111 } | 1110 } |
| 1112 } | 1111 } |
| 1113 | 1112 |
| 1114 } // namespace internals | 1113 } // namespace internals |
| 1115 | 1114 |
| 1116 } // namespace web_app | 1115 } // namespace web_app |
| OLD | NEW |