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_VIEWS_ASH_EXTENSION_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 class Profile; | 9 class Profile; |
| 10 |
| 11 namespace extensions { |
10 class Extension; | 12 class Extension; |
| 13 } |
11 | 14 |
12 namespace extension_utils { | 15 namespace extension_utils { |
13 | 16 |
14 // Opens an extension. |event_flags| holds the flags of the event | 17 // Opens an extension. |event_flags| holds the flags of the event |
15 // which triggered this extension. | 18 // which triggered this extension. |
16 void OpenExtension(Profile* profile, | 19 void OpenExtension(Profile* profile, |
17 const Extension* extension, | 20 const extensions::Extension* extension, |
18 int event_flags); | 21 int event_flags); |
19 | 22 |
20 } // namespace extension_utils | 23 } // namespace extension_utils |
21 | 24 |
22 #endif // CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ | 25 #endif // CHROME_BROWSER_UI_VIEWS_ASH_EXTENSION_UTILS_H_ |
OLD | NEW |