Home | History | Annotate | Download | only in extensions
      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 
      8 namespace base {
      9 class DictionaryValue;
     10 }
     11 
     12 namespace extensions {
     13 
     14 class Extension;
     15 
     16 // Fills the |info| dictionary with basic information about the extension.
     17 // |enabled| is injected for easier testing.
     18 void 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