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

Unified Diff: extensions/renderer/argument_spec.h

Issue 2615773002: [Extensions Bindings] Add enum support (Closed)
Patch Set: nits Created 3 years, 11 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: extensions/renderer/argument_spec.h
diff --git a/extensions/renderer/argument_spec.h b/extensions/renderer/argument_spec.h
index 6a1df6c94180d8f4ef472218f59cc7440aa4aa44..2f9c7aca5b79c95826066ec0d779bdddfdbb11a6 100644
--- a/extensions/renderer/argument_spec.h
+++ b/extensions/renderer/argument_spec.h
@@ -60,6 +60,7 @@ class ArgumentSpec {
const std::string& name() const { return name_; }
bool optional() const { return optional_; }
ArgumentType type() const { return type_; }
+ const std::set<std::string>& enum_values() const { return enum_values_; }
private:
// Initializes this object according to |type_string| and |dict|.
« no previous file with comments | « extensions/renderer/api_binding_unittest.cc ('k') | extensions/renderer/native_extension_bindings_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698