cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject cordova-plugin-whitelist git commit: Usage of CDVURLRequestFilter protocol.
Date Thu, 28 May 2015 23:26:03 GMT
Repository: cordova-plugin-whitelist
Updated Branches:
  refs/heads/master 7611b3fc7 -> 3578a4719


Usage of CDVURLRequestFilter protocol.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/3578a471
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/3578a471
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/3578a471

Branch: refs/heads/master
Commit: 3578a4719f38ae1b25f3f665c30ba55b8e91b08c
Parents: 7611b3f
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu May 28 16:27:23 2015 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu May 28 16:27:23 2015 -0700

----------------------------------------------------------------------
 src/ios/CDVNavigationWhitelistPlugin.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/3578a471/src/ios/CDVNavigationWhitelistPlugin.h
----------------------------------------------------------------------
diff --git a/src/ios/CDVNavigationWhitelistPlugin.h b/src/ios/CDVNavigationWhitelistPlugin.h
index d0b9365..c1c1301 100644
--- a/src/ios/CDVNavigationWhitelistPlugin.h
+++ b/src/ios/CDVNavigationWhitelistPlugin.h
@@ -20,12 +20,10 @@
 #import <UIKit/UIKit.h>
 #import <Cordova/CDVPlugin.h>
 #import <Cordova/CDVWhitelist.h>
+#import <Cordova/CDVURLRequestFilter.h>
 
-@interface CDVNavigationWhitelistPlugin : CDVPlugin {}
+@interface CDVNavigationWhitelistPlugin : CDVPlugin <CDVURLRequestFilter>{}
 
 @property (nonatomic, readonly, strong) CDVWhitelist* whitelist; // readonly for public
 
-- (BOOL)shouldAllowNavigationToURL:(NSURL *)url;
-- (BOOL)shouldAllowRequestForURL:(NSURL *)url;
-
 @end


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message