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

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: * Created 8 years, 4 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..4bf0275ff9c99d86b11d37756d688c0e9ef1e518 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(std::vector<std::string>* document_url_patterns,
+ std::vector<std::string>* target_url_patterns,
+ std::string* error);
protected:
friend class MenuManager;

Powered by Google App Engine
This is Rietveld 408576698