summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/extensions/extension_basic_info.h
blob: 51069ea6f11c7780b7f8d9cac4e2a1b6d37f88e5 (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 2013 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_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_
#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_

namespace base {
class DictionaryValue;
}

namespace extensions {

class Extension;

// Fills the |info| dictionary with basic information about the extension.
// |enabled| is injected for easier testing.
void GetExtensionBasicInfo(const Extension* extension,
                           bool enabled,
                           base::DictionaryValue* info);

}  // namespace extensions

#endif  // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_