Index: src/uri.h |
diff --git a/src/uri.h b/src/uri.h |
index e41e8a29e18635403f008bc1fe823a9b1164fc73..c3a46c3ec3cd2e6b6539761a98acb2db7f32e5a2 100644 |
--- a/src/uri.h |
+++ b/src/uri.h |
@@ -22,14 +22,18 @@ class Uri : public AllStatic { |
return Encode(isolate, component, false); |
} |
- // DecodeUri |
- // DecodeUriComponent |
- // escape |
- // unescape |
+ static Object* DecodeUri(Isolate* isolate, Handle<String> uri) { |
Benedikt Meurer
2016/05/21 19:27:59
Nit: Please add references to the EcmaScript stand
Franzi
2016/05/22 12:34:08
Done.
|
+ return Decode(isolate, uri, true); |
+ } |
+ |
+ static Object* DecodeUriComponent(Isolate* isolate, |
Benedikt Meurer
2016/05/21 19:27:59
Nit: Please add references to the EcmaScript stand
Franzi
2016/05/22 12:34:08
Done.
|
+ Handle<String> component) { |
+ return Decode(isolate, component, false); |
+ } |
private: |
static Object* Encode(Isolate* isolate, Handle<String> uri, bool is_uri); |
- // decode |
+ static Object* Decode(Isolate* isolate, Handle<String> uri, bool is_uri); |
}; |
} // namespace internal |