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

Unified Diff: chrome/common/extensions/api/extension_action/action_handler_helpers.h

Issue 11588004: Move ScriptBadge, ActionInfo out of Extension; preparation for BrowserAction (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Yoyo's requested changes Created 8 years 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
Index: chrome/common/extensions/api/extension_action/action_handler_helpers.h
diff --git a/chrome/common/extensions/api/extension_action/action_handler_helpers.h b/chrome/common/extensions/api/extension_action/action_handler_helpers.h
new file mode 100644
index 0000000000000000000000000000000000000000..5dcf075d039e3e63b44fec4ebef6cdadd33abf17
--- /dev/null
+++ b/chrome/common/extensions/api/extension_action/action_handler_helpers.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_HANDLER_HELPERS_H_
+#define CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_HANDLER_HELPERS_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "chrome/common/extensions/api/extension_action/action_info.h"
+#include "chrome/common/extensions/extension.h"
+
+namespace base {
+class DictionaryValue;
+}
+
+namespace extensions {
+
+scoped_ptr<ActionInfo> LoadActionInfo(
+ const Extension* extension,
+ const base::DictionaryValue* manifest_section,
+ string16* error);
+
+} // namespace extensions
+
+#endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_ACTION_ACTION_HANDLER_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698