18e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project/*
28e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Copyright (C) 2005, 2008 Apple Inc. All rights reserved.
38e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *
48e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * Redistribution and use in source and binary forms, with or without
58e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * modification, are permitted provided that the following conditions
68e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * are met:
78e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *
88e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 1.  Redistributions of source code must retain the above copyright
98e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *     notice, this list of conditions and the following disclaimer.
108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 2.  Redistributions in binary form must reproduce the above copyright
118e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *     notice, this list of conditions and the following disclaimer in the
128e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *     documentation and/or other materials provided with the distribution.
138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
148e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *     its contributors may be used to endorse or promote products derived
158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *     from this software without specific prior written permission.
168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project *
178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
188e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
198e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
208e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
228e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
238e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
248e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
258e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
268e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project */
288e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
298e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebPluginContainerCheck.h"
308e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebFrameInternal.h"
328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebPluginContainerPrivate.h"
338e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebPluginController.h"
348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebPolicyDelegatePrivate.h"
358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebView.h"
368e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import "WebViewInternal.h"
378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <Foundation/NSDictionary.h>
388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <Foundation/NSURL.h>
398e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <Foundation/NSURLRequest.h>
408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <WebCore/Frame.h>
418e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <WebCore/FrameLoader.h>
428e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <WebCore/FrameLoaderTypes.h>
43231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#import <WebCore/SecurityOrigin.h>
448e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <wtf/Assertions.h>
458e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project#import <objc/objc-runtime.h>
468e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
478e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Projectusing namespace WebCore;
488e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
498e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project@implementation WebPluginContainerCheck
508e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
510bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch- (id)initWithRequest:(NSURLRequest *)request target:(NSString *)target resultObject:(id)obj selector:(SEL)selector controller:(id <WebPluginContainerCheckController>)controller contextInfo:(id)contextInfo /*optional*/
528e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
538e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    if (!(self = [super init]))
548e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        return nil;
550bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
568e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _request = [request copy];
578e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _target = [target copy];
588e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _resultObject = [obj retain];
598e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _resultSelector = selector;
600bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    _contextInfo = [contextInfo retain];
610bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
628e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    // controller owns us so don't retain, to avoid cycle
638e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _controller = controller;
640bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
658e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    return self;
668e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
678e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
680bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch+ (id)checkWithRequest:(NSURLRequest *)request target:(NSString *)target resultObject:(id)obj selector:(SEL)selector controller:(id <WebPluginContainerCheckController>)controller contextInfo:(id)contextInfo /*optional*/
690bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch{
700bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    return [[[self alloc] initWithRequest:request target:target resultObject:obj selector:selector controller:controller contextInfo:contextInfo] autorelease];
710bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch}
720bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
738e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)finalize
748e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
758e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    // mandatory to complete or cancel before releasing this object
768e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    ASSERT(_done);
778e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [super finalize];
788e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
798e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
808e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)dealloc
818e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
828e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    // mandatory to complete or cancel before releasing this object
838e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    ASSERT(_done);
848e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [super dealloc];
858e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
868e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
878e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)_continueWithPolicy:(PolicyAction)policy
888e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
890bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    if (_contextInfo)
900bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch        ((void (*)(id, SEL, BOOL, id))objc_msgSend)(_resultObject, _resultSelector, (policy == PolicyUse), _contextInfo);
910bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    else
920bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch        ((void (*)(id, SEL, BOOL))objc_msgSend)(_resultObject, _resultSelector, (policy == PolicyUse));
938e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
948e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    // this will call indirectly call cancel
958e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_controller _webPluginContainerCancelCheckIfAllowedToLoadRequest:self];
968e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
978e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
988e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (BOOL)_isForbiddenFileLoad
998e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
1008e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project   Frame* coreFrame = core([_controller webFrame]);
1018e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project   ASSERT(coreFrame);
102231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block   if (!SecurityOrigin::canLoad([_request URL], String(), coreFrame->document())) {
1038e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project       [self _continueWithPolicy:PolicyIgnore];
1048e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project       return YES;
1058e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project   }
1068e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1078e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project   return NO;
1088e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
1098e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1108e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (NSDictionary *)_actionInformationWithURL:(NSURL *)URL
1118e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
1128e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    return [NSDictionary dictionaryWithObjectsAndKeys:
1138e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project               [NSNumber numberWithInt:WebNavigationTypePlugInRequest], WebActionNavigationTypeKey,
1148e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project               [NSNumber numberWithInt:0], WebActionModifierFlagsKey,
1158e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project               URL, WebActionOriginalURLKey,
1168e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project               nil];
1178e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
1188e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1198e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)_askPolicyDelegate
1208e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
1218e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    WebView *webView = [_controller webView];
1228e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1238e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    WebFrame *targetFrame;
1248e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    if ([_target length] > 0) {
1258e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        targetFrame = [[_controller webFrame] findFrameNamed:_target];
1268e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    } else {
1278e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        targetFrame = [_controller webFrame];
1288e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    }
1298e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1308e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    NSDictionary *action = [self _actionInformationWithURL:[_request URL]];
1318e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1328e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _listener = [[WebPolicyDecisionListener alloc] _initWithTarget:self action:@selector(_continueWithPolicy:)];
1338e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1348e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    if (targetFrame == nil) {
1358e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        // would open new window
1368e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        [[webView _policyDelegateForwarder] webView:webView
1378e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                     decidePolicyForNewWindowAction:action
1388e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                            request:_request
1398e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                       newFrameName:_target
1408e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                   decisionListener:_listener];
1418e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    } else {
1428e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        // would target existing frame
1438e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        [[webView _policyDelegateForwarder] webView:webView
1448e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                    decidePolicyForNavigationAction:action
1458e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                            request:_request
1468e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                              frame:targetFrame
1478e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project                                   decisionListener:_listener];
1488e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    }
1498e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
1508e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1518e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)start
1528e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
1538e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    ASSERT(!_listener);
1548e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    ASSERT(!_done);
1558e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1568e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    if ([self _isForbiddenFileLoad])
1578e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        return;
1588e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1598e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [self _askPolicyDelegate];
1608e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
1618e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1628e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project- (void)cancel
1638e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project{
1648e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    if (_done)
1658e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project        return;
1668e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1678e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_request release];
1688e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _request = nil;
1698e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1708e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_target release];
1718e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _target = nil;
1728e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1738e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_listener _invalidate];
1748e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_listener release];
1758e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _listener = nil;
1768e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1778e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    [_resultObject autorelease];
1788e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _resultObject = nil;
1798e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1808e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _controller = nil;
1810bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
1820bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    [_contextInfo release];
1830bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    _contextInfo = nil;
1848e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1858e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project    _done = YES;
1868e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project}
1878e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project
1880bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch- (id)contextInfo
1890bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch{
1900bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch    return _contextInfo;
1910bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch}
1920bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch
1938e35f3cfc7fba1d1c829dc557ebad6409cbe16a2The Android Open Source Project@end
194