Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3743)

Unified Diff: chrome/browser/ui/webui/extensions/extension_basic_info.h

Issue 16248002: Move Extension::GetBasicInfo to a static helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/extensions/extension_basic_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..51069ea6f11c7780b7f8d9cac4e2a1b6d37f88e5
--- /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 GetExtensionBasicInfo(const Extension* extension,
+ bool enabled,
+ base::DictionaryValue* info);
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_
« no previous file with comments | « no previous file | chrome/browser/ui/webui/extensions/extension_basic_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698