Index: chrome/browser/ui/ash/extension_utils.h |
diff --git a/chrome/browser/ui/ash/extension_utils.h b/chrome/browser/ui/ash/extension_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07d548be0da10cd177868c82e5ef58aa156fcad8 |
--- /dev/null |
+++ b/chrome/browser/ui/ash/extension_utils.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_ASH_EXTENSION_UTILS_H_ |
+#define CHROME_BROWSER_UI_ASH_EXTENSION_UTILS_H_ |
+ |
+class Profile; |
+ |
+namespace extensions { |
+class Extension; |
+} |
+ |
+namespace extension_utils { |
+ |
+// Opens an extension. |event_flags| holds the flags of the event |
+// which triggered this extension. |
+void OpenExtension(Profile* profile, |
+ const extensions::Extension* extension, |
+ int event_flags); |
+ |
+} // namespace extension_utils |
+ |
+#endif // CHROME_BROWSER_UI_ASH_EXTENSION_UTILS_H_ |