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 #ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ |
6 #define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ | 6 #define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "apps/shell_integration.h" |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "chrome/browser/shell_integration.h" | |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class WebContents; | 14 class WebContents; |
15 } | 15 } |
16 | 16 |
17 namespace extensions { | 17 namespace extensions { |
18 class Extension; | 18 class Extension; |
19 } | 19 } |
20 | 20 |
21 class Profile; | 21 class Profile; |
(...skipping 25 matching lines...) Expand all Loading... |
47 // Fetches the icon for |extension| and calls |callback| with shortcut info | 47 // Fetches the icon for |extension| and calls |callback| with shortcut info |
48 // filled out as by UpdateShortcutInfoForApp. | 48 // filled out as by UpdateShortcutInfoForApp. |
49 void UpdateShortcutInfoAndIconForApp( | 49 void UpdateShortcutInfoAndIconForApp( |
50 const extensions::Extension& extension, | 50 const extensions::Extension& extension, |
51 Profile* profile, | 51 Profile* profile, |
52 const ShortcutInfoCallback& callback); | 52 const ShortcutInfoCallback& callback); |
53 | 53 |
54 } // namespace web_app | 54 } // namespace web_app |
55 | 55 |
56 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ | 56 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ |
OLD | NEW |