Index: chrome/browser/ui/webui/extensions/extension_basic_info.h |
diff --git a/chrome/browser/ui/webui/extensions/extension_basic_info.h b/chrome/browser/ui/webui/extensions/extension_basic_info.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..acef49705ea86cfe810809444a49f1013b68ff82 |
--- /dev/null |
+++ b/chrome/browser/ui/webui/extensions/extension_basic_info.h |
@@ -0,0 +1,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 GetBasicInfo(const Extension* extension, |
James Hawkins
2013/06/03 16:43:56
Optional nit: I have a feeling this function name
Yoyo Zhou
2013/06/03 19:35:30
Sure, renamed.
|
+ bool enabled, |
+ base::DictionaryValue* info); |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ |