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

Side by Side Diff: Source/bindings/v8/Dictionary.h

Issue 23361019: WebCrypto: properly normalize optional numeric parameters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replace contains() with a different get() method Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/generateKey-expected.txt ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*); 59 Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*);
60 ~Dictionary(); 60 ~Dictionary();
61 61
62 Dictionary& operator=(const Dictionary&); 62 Dictionary& operator=(const Dictionary&);
63 63
64 bool isObject() const; 64 bool isObject() const;
65 bool isUndefinedOrNull() const; 65 bool isUndefinedOrNull() const;
66 66
67 bool get(const String&, bool&) const; 67 bool get(const String&, bool&) const;
68 bool get(const String&, int32_t&) const; 68 bool get(const String&, int32_t&) const;
69 bool get(const String&, double&, bool& hasValue) const;
69 bool get(const String&, double&) const; 70 bool get(const String&, double&) const;
70 bool get(const String&, String&) const; 71 bool get(const String&, String&) const;
71 bool get(const String&, ScriptValue&) const; 72 bool get(const String&, ScriptValue&) const;
72 bool get(const String&, short&) const; 73 bool get(const String&, short&) const;
73 bool get(const String&, unsigned short&) const; 74 bool get(const String&, unsigned short&) const;
74 bool get(const String&, unsigned&) const; 75 bool get(const String&, unsigned&) const;
75 bool get(const String&, unsigned long&) const; 76 bool get(const String&, unsigned long&) const;
76 bool get(const String&, unsigned long long&) const; 77 bool get(const String&, unsigned long long&) const;
77 bool get(const String&, RefPtr<DOMWindow>&) const; 78 bool get(const String&, RefPtr<DOMWindow>&) const;
78 bool get(const String&, RefPtr<Storage>&) const; 79 bool get(const String&, RefPtr<Storage>&) const;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 static void* operator new[](size_t); 112 static void* operator new[](size_t);
112 static void operator delete(void *); 113 static void operator delete(void *);
113 114
114 v8::Local<v8::Value> m_options; 115 v8::Local<v8::Value> m_options;
115 v8::Isolate* m_isolate; 116 v8::Isolate* m_isolate;
116 }; 117 };
117 118
118 } 119 }
119 120
120 #endif // Dictionary_h 121 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « LayoutTests/crypto/generateKey-expected.txt ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698