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 <Carbon/Carbon.h> | 7 #import <Carbon/Carbon.h> |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <stdint.h> |
9 | 10 |
10 #include "base/command_line.h" | 11 #include "base/command_line.h" |
11 #include "base/files/file_enumerator.h" | 12 #include "base/files/file_enumerator.h" |
12 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
13 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
14 #include "base/mac/foundation_util.h" | 15 #include "base/mac/foundation_util.h" |
15 #include "base/mac/launch_services_util.h" | 16 #include "base/mac/launch_services_util.h" |
16 #include "base/mac/mac_util.h" | 17 #include "base/mac/mac_util.h" |
17 #include "base/mac/scoped_cftyperef.h" | 18 #include "base/mac/scoped_cftyperef.h" |
18 #include "base/mac/scoped_nsobject.h" | 19 #include "base/mac/scoped_nsobject.h" |
| 20 #include "base/macros.h" |
19 #include "base/metrics/sparse_histogram.h" | 21 #include "base/metrics/sparse_histogram.h" |
20 #include "base/path_service.h" | 22 #include "base/path_service.h" |
21 #include "base/process/process_handle.h" | 23 #include "base/process/process_handle.h" |
22 #include "base/strings/string16.h" | 24 #include "base/strings/string16.h" |
23 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
24 #include "base/strings/string_split.h" | 26 #include "base/strings/string_split.h" |
25 #include "base/strings/string_util.h" | 27 #include "base/strings/string_util.h" |
26 #include "base/strings/sys_string_conversions.h" | 28 #include "base/strings/sys_string_conversions.h" |
27 #include "base/strings/utf_string_conversions.h" | 29 #include "base/strings/utf_string_conversions.h" |
28 #include "base/version.h" | 30 #include "base/version.h" |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 web_app::GetShortcutInfoForApp( | 1225 web_app::GetShortcutInfoForApp( |
1224 app, | 1226 app, |
1225 profile, | 1227 profile, |
1226 base::Bind(&web_app::CreateAppShortcutInfoLoaded, | 1228 base::Bind(&web_app::CreateAppShortcutInfoLoaded, |
1227 profile, | 1229 profile, |
1228 app, | 1230 app, |
1229 close_callback)); | 1231 close_callback)); |
1230 } | 1232 } |
1231 | 1233 |
1232 } // namespace chrome | 1234 } // namespace chrome |
OLD | NEW |