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

Side by Side Diff: src/org/adblockplus/android/ABPEngine.java

Issue 5172657418928128: Determine the frame structure (Closed)
Patch Set: Build referrer chains iteratively and limit their length Created Nov. 27, 2013, 2:47 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
« no previous file with comments | « jni/abpEngine.cpp ('k') | src/org/adblockplus/android/AdblockPlus.java » ('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 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 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
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 public native void removeSubscription(String url); 87 public native void removeSubscription(String url);
88 88
89 public native void refreshSubscription(String url); 89 public native void refreshSubscription(String url);
90 90
91 public native void actualizeSubscriptionStatus(String url); 91 public native void actualizeSubscriptionStatus(String url);
92 92
93 public native void setAcceptableAdsEnabled(boolean enabled); 93 public native void setAcceptableAdsEnabled(boolean enabled);
94 94
95 public native String getDocumentationLink(); 95 public native String getDocumentationLink();
96 96
97 public native boolean matches(String url, String contentType, String documentU rl); 97 public native boolean matches(String url, String contentType, String[] documen tUrls);
98 98
99 public native String[] getSelectorsForDomain(String domain); 99 public native String[] getSelectorsForDomain(String domain);
100 100
101 public native void checkUpdates(); 101 public native void checkUpdates();
102 102
103 private Notification getNotification(String url, String error) 103 private Notification getNotification(String url, String error)
104 { 104 {
105 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0); 105 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
106 106
107 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) ; 107 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) ;
(...skipping 28 matching lines...) Expand all
136 136
137 Notification notification = builder.getNotification(); 137 Notification notification = builder.getNotification();
138 return notification; 138 return notification;
139 } 139 }
140 140
141 static 141 static
142 { 142 {
143 System.loadLibrary("abpEngine"); 143 System.loadLibrary("abpEngine");
144 } 144 }
145 } 145 }
OLDNEW
« no previous file with comments | « jni/abpEngine.cpp ('k') | src/org/adblockplus/android/AdblockPlus.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld