~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/maccore/src/Foundation/NSHttpCookieStorage.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
                static NSHttpCookieStorage ()
10
10
                {
11
 
                        var handle = Dlfcn.dlopen (Constants.FoundationLibrary, 0);
 
11
                        var handle = Libraries.Foundation.Handle;
12
12
                        if (handle == IntPtr.Zero)
13
13
                                return;
14
14
 
15
 
                        try {
16
 
                                CookiesChangedNotification = Dlfcn.GetStringConstant (handle, "NSHTTPCookieManagerAcceptPolicyChangedNotification");
17
 
                                AcceptPolicyChangedNotification = Dlfcn.GetStringConstant (handle, "NSHTTPCookieManagerCookiesChangedNotification");
18
 
                        } finally {
19
 
                                Dlfcn.dlclose (handle);
20
 
                        }
 
15
                        CookiesChangedNotification = Dlfcn.GetStringConstant (handle, "NSHTTPCookieManagerAcceptPolicyChangedNotification");
 
16
                        AcceptPolicyChangedNotification = Dlfcn.GetStringConstant (handle, "NSHTTPCookieManagerCookiesChangedNotification");
21
17
                }
22
18
        }
23
19
}
 
 
b'\\ No newline at end of file'