aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/embedding/request.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-05-26 17:07:15 -0400
committerbors-servo <release+servo@mozilla.com>2014-05-26 17:07:15 -0400
commit112ce25a6dabdcf4a6abee20ae8ca2915b40eb84 (patch)
tree762f18999bd5effd57fb85c3e8521d5b7178bacf /src/components/embedding/request.rs
parent58d57c91913c49a0c47bd0ac4cba739e4460a6e4 (diff)
parent9f455a29aaad6ba659ebe79f1a9c74097b1f4ad5 (diff)
downloadservo-112ce25a6dabdcf4a6abee20ae8ca2915b40eb84.tar.gz
servo-112ce25a6dabdcf4a6abee20ae8ca2915b40eb84.zip
auto merge of #2408 : zmike/servo/embedding-invasion, r=jdm
This adds further support for crashing CEF and world domination. @larsbergstrom
Diffstat (limited to 'src/components/embedding/request.rs')
-rw-r--r--src/components/embedding/request.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/embedding/request.rs b/src/components/embedding/request.rs
new file mode 100644
index 00000000000..546047e7df0
--- /dev/null
+++ b/src/components/embedding/request.rs
@@ -0,0 +1,21 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+
+use types::{cef_post_data_element_t, cef_post_data_t, cef_request_t};
+
+#[no_mangle]
+pub extern "C" fn cef_request_create() -> *mut cef_request_t {
+ 0 as *mut cef_request_t
+}
+
+#[no_mangle]
+pub extern "C" fn cef_post_data_create() -> *mut cef_post_data_t {
+ 0 as *mut cef_post_data_t
+}
+
+#[no_mangle]
+pub extern "C" fn cef_post_data_element_create() -> *mut cef_post_data_element_t {
+ 0 as *mut cef_post_data_element_t
+}