1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ 6#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ 7 8namespace base { 9class DictionaryValue; 10} 11 12namespace extensions { 13 14class Extension; 15 16// Fills the |info| dictionary with basic information about the extension. 17// |enabled| is injected for easier testing. 18void GetExtensionBasicInfo(const Extension* extension, 19 bool enabled, 20 base::DictionaryValue* info); 21 22} // namespace extensions 23 24#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ 25