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

Side by Side Diff: libadblockplus-android/jni/JniLibrary.cpp

Issue 29555724: Issue 5772 - Remove unused imports (Closed)
Patch Set: Created Sept. 25, 2017, 1:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present 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 "JniJsValue.h" 18 #include "JniJsValue.h"
19 #include "JniFilter.h" 19 #include "JniFilter.h"
20 #include "JniLogSystem.h" 20 #include "JniLogSystem.h"
21 #include "JniCallbacks.h" 21 #include "JniCallbacks.h"
22 #include "JniNotification.h" 22 #include "JniNotification.h"
23 #include "JniWebRequest.h" 23 #include "JniWebRequest.h"
24 #include "Utils.h"
25 24
26 jint JNI_OnLoad(JavaVM* vm, void* reserved) 25 jint JNI_OnLoad(JavaVM* vm, void* reserved)
27 { 26 {
28 JNIEnv* env; 27 JNIEnv* env;
29 if (vm->GetEnv(reinterpret_cast<void**>(&env), ABP_JNI_VERSION) != JNI_OK) 28 if (vm->GetEnv(reinterpret_cast<void**>(&env), ABP_JNI_VERSION) != JNI_OK)
30 { 29 {
31 return JNI_ERR; 30 return JNI_ERR;
32 } 31 }
33 32
34 JniJsValue_OnLoad(vm, env, reserved); 33 JniJsValue_OnLoad(vm, env, reserved);
(...skipping 16 matching lines...) Expand all
51 } 50 }
52 51
53 JniJsValue_OnUnload(vm, env, reserved); 52 JniJsValue_OnUnload(vm, env, reserved);
54 JniFilter_OnUnload(vm, env, reserved); 53 JniFilter_OnUnload(vm, env, reserved);
55 JniLogSystem_OnUnload(vm, env, reserved); 54 JniLogSystem_OnUnload(vm, env, reserved);
56 JniCallbacks_OnUnload(vm, env, reserved); 55 JniCallbacks_OnUnload(vm, env, reserved);
57 JniNotification_OnUnload(vm, env, reserved); 56 JniNotification_OnUnload(vm, env, reserved);
58 JniWebRequest_OnUnload(vm, env, reserved); 57 JniWebRequest_OnUnload(vm, env, reserved);
59 JniUtils_OnUnload(vm, env, reserved); 58 JniUtils_OnUnload(vm, env, reserved);
60 } 59 }
OLDNEW
« no previous file with comments | « libadblockplus-android/jni/JniIsAllowedConnectionTypeCallback.cpp ('k') | libadblockplus-android/jni/JniSubscription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld