Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: jni/ops.h

Issue 9271056: ABP/Android V8 integration code (Closed)
Left Patch Set: Created Jan. 30, 2013, 9:27 a.m.
Right Patch Set: ABP/Android V8 integration code Created Feb. 1, 2013, 8:40 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « jni/jsEngine.cpp ('k') | jni/timerOps.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of the Adblock Plus, 2 * This file is part of the Adblock Plus,
3 * Copyright (C) 2006-2012 Eyeo GmbH 3 * Copyright (C) 2006-2012 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 #include <v8.h> 18 #include <v8.h>
19 #include <jni.h> 19 #include <jni.h>
20 20
21 extern JNIEnv* jniEnv; 21 extern JavaVM* globalJvm;
22 extern jobject jniCallback; 22 extern jobject jniCallback;
23 23
24 extern v8::Handle<v8::Value> loadImpl(const v8::Arguments& args); 24 extern v8::Handle<v8::Value> loadImpl(const v8::Arguments& args);
25 extern v8::Handle<v8::Value> printImpl(const v8::Arguments& args); 25 extern v8::Handle<v8::Value> printImpl(const v8::Arguments& args);
26 extern v8::Handle<v8::Value> setStatusImpl(const v8::Arguments& args); 26 extern v8::Handle<v8::Value> setStatusImpl(const v8::Arguments& args);
27 extern v8::Handle<v8::Value> canAutoupdateImpl(const v8::Arguments& args); 27 extern v8::Handle<v8::Value> canAutoupdateImpl(const v8::Arguments& args);
28 extern v8::Handle<v8::Value> showToastImpl(const v8::Arguments& args); 28 extern v8::Handle<v8::Value> showToastImpl(const v8::Arguments& args);
29 29
30 extern v8::Handle<v8::Value> fileExistsImpl(const v8::Arguments& args); 30 extern v8::Handle<v8::Value> fileExistsImpl(const v8::Arguments& args);
31 extern v8::Handle<v8::Value> fileLastModifiedImpl(const v8::Arguments& args); 31 extern v8::Handle<v8::Value> fileLastModifiedImpl(const v8::Arguments& args);
32 extern v8::Handle<v8::Value> fileRemoveImpl(const v8::Arguments& args); 32 extern v8::Handle<v8::Value> fileRemoveImpl(const v8::Arguments& args);
33 extern v8::Handle<v8::Value> fileRenameImpl(const v8::Arguments& args); 33 extern v8::Handle<v8::Value> fileRenameImpl(const v8::Arguments& args);
34 extern v8::Handle<v8::Value> fileReadImpl(const v8::Arguments& args); 34 extern v8::Handle<v8::Value> fileReadImpl(const v8::Arguments& args);
35 extern v8::Handle<v8::Value> fileWriteImpl(const v8::Arguments& args); 35 extern v8::Handle<v8::Value> fileWriteImpl(const v8::Arguments& args);
36 36
37 extern v8::Handle<v8::Value> httpSendImpl(const v8::Arguments& args); 37 extern v8::Handle<v8::Value> httpSendImpl(const v8::Arguments& args);
38 38
39 extern v8::Handle<v8::Value> setTimeoutImpl(const v8::Arguments& args); 39 extern v8::Handle<v8::Value> setTimeoutImpl(const v8::Arguments& args);
40 extern long RunNextCallback(v8::Handle<v8::Context> context); 40 extern long RunNextCallback(v8::Handle<v8::Context> context);
41 extern void ClearQueue(); 41 extern void ClearQueue();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld