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

Unified Diff: content/renderer/v8_value_converter_impl.cc

Issue 10387055: Support optional arguments in SendRequestNatives::StartRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 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
Index: content/renderer/v8_value_converter_impl.cc
diff --git a/content/renderer/v8_value_converter_impl.cc b/content/renderer/v8_value_converter_impl.cc
index c457377f9df870ac83a7bc98f44d08623947a0ae..f615491682bb412ede4b1033fb5bca4d6efae528 100644
--- a/content/renderer/v8_value_converter_impl.cc
+++ b/content/renderer/v8_value_converter_impl.cc
@@ -34,6 +34,31 @@ V8ValueConverterImpl::V8ValueConverterImpl()
allow_regexp_(false) {
}
+
jochen (gone - plz use gerrit) 2012/05/15 16:58:56 nit. remove empty line
battre 2012/05/16 07:42:33 Done.
+bool V8ValueConverterImpl::AllowUndefined() const {
+ return allow_undefined_;
+}
+
+void V8ValueConverterImpl::SetAllowUndefined(bool val) {
+ allow_undefined_ = val;
+}
+
+bool V8ValueConverterImpl::AllowDate() const {
+ return allow_date_;
+}
+
+void V8ValueConverterImpl::SetAllowDate(bool val) {
+ allow_date_ = val;
+}
+
+bool V8ValueConverterImpl::AllowRegexp() const {
+ return allow_regexp_;
+}
+
+void V8ValueConverterImpl::SetAllowRegexp(bool val) {
+ allow_regexp_ = val;
+}
+
v8::Handle<v8::Value> V8ValueConverterImpl::ToV8Value(
const Value* value, v8::Handle<v8::Context> context) const {
v8::Context::Scope context_scope(context);

Powered by Google App Engine
This is Rietveld 408576698