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