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

Unified Diff: chrome/browser/extensions/menu_manager.h

Issue 10809094: Context Menus now uses the JSON Schema Compiler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@json_functions_as_properties
Patch Set: adjust to new json_function_as_parameters mods Created 8 years, 5 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
Index: chrome/browser/extensions/menu_manager.h
diff --git a/chrome/browser/extensions/menu_manager.h b/chrome/browser/extensions/menu_manager.h
index 54445a01fb09ce1fc4cf5875bbed86c1f67c53ee..665355f81cddc03db5e888c29bd1ac908fae7100 100644
--- a/chrome/browser/extensions/menu_manager.h
+++ b/chrome/browser/extensions/menu_manager.h
@@ -185,6 +185,9 @@ class MenuItem {
const char* document_url_patterns_key,
const char* target_url_patterns_key,
std::string* error);
+ bool PopulateURLPatterns(ListValue* document_url_patterns,
+ ListValue* target_url_patterns,
not at google - send to devlin 2012/07/26 04:16:20 Just take const std::vector<std::string>* directly
chebert 2012/07/27 01:28:24 Done.
+ std::string* error);
protected:
friend class MenuManager;

Powered by Google App Engine
This is Rietveld 408576698