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

Unified Diff: Source/bindings/core/v8/Dictionary.h

Issue 1031783003: Add V8ObjectBuilder helper and use in modules/crypto/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use "const String&" Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/bindings/core/v8/Dictionary.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/Dictionary.h
diff --git a/Source/bindings/core/v8/Dictionary.h b/Source/bindings/core/v8/Dictionary.h
index a49490db603dd0f7070d39de48ca78663547903a..3a5139d521149d067f615f06470d72b38d48da37 100644
--- a/Source/bindings/core/v8/Dictionary.h
+++ b/Source/bindings/core/v8/Dictionary.h
@@ -54,23 +54,12 @@ public:
Dictionary& operator=(const Dictionary&);
- // This is different from the default constructor:
- // * isObject() is true when using createEmpty().
- // * isUndefinedOrNull() is true when using default constructor.
- static Dictionary createEmpty(v8::Isolate*);
-
bool isObject() const;
bool isUndefinedOrNull() const;
bool get(const String&, Dictionary&) const;
bool get(const String&, v8::Local<v8::Value>&) const;
- // Sets properties using default attributes.
- bool set(const String&, const v8::Handle<v8::Value>&);
- bool set(const String&, const String&);
- bool set(const String&, unsigned);
- bool set(const String&, const Dictionary&);
-
v8::Handle<v8::Value> v8Value() const { return m_options; }
class CORE_EXPORT ConversionContext {
« no previous file with comments | « no previous file | Source/bindings/core/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698