Lines Matching full:self
44 [NSURLProtocol registerClass:self];
70 NSURLRequest *request = [self request];
73 [self handleIsWebKitLauncherAvailableJS];
78 [self handleCheckForUpdates];
82 [self resourceNotFound];
91 id client = [self client];
92 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/javascript" expectedContentLength:0 textEncodingName:@"utf-8"];
93 [client URLProtocol:self didReceiveResponse:response cacheStoragePolicy:NSURLCacheStorageAllowed];
97 [client URLProtocol:self didLoadData:data];
98 [client URLProtocolDidFinishLoading:self];
104 id client = [self client];
105 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/plain" expectedContentLength:0 textEncodingName:@"utf-8"];
106 [client URLProtocol:self didReceiveResponse:response cacheStoragePolicy:NSURLCacheStorageNotAllowed];
110 [updater performSelectorOnMainThread:@selector(checkForUpdates:) withObject:self waitUntilDone:NO];
111 [client URLProtocolDidFinishLoading:self];
117 id client = [self client];
118 NSDictionary *infoDictionary = [NSDictionary dictionaryWithObject:NSErrorFailingURLStringKey forKey:[[self request] URL]];
120 [client URLProtocol:self didFailWithError:error];