summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/ash/extension_utils.h
blob: 07d548be0da10cd177868c82e5ef58aa156fcad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_