1*4882a593SmuzhiyunCopyright (C) 2008 Apple Inc. All Rights Reserved. 2*4882a593SmuzhiyunCopyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3*4882a593SmuzhiyunCopyright (C) 2010 Google, Inc. All Rights Reserved. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 6*4882a593Smuzhiyunmodification, are permitted provided that the following conditions 7*4882a593Smuzhiyunare met: 8*4882a593Smuzhiyun1. Redistributions of source code must retain the above copyright 9*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 10*4882a593Smuzhiyun2. Redistributions in binary form must reproduce the above copyright 11*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer in the 12*4882a593Smuzhiyun documentation and/or other materials provided with the distribution. 13*4882a593Smuzhiyun * 14*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY 15*4882a593SmuzhiyunEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*4882a593SmuzhiyunIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17*4882a593SmuzhiyunPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR 18*4882a593SmuzhiyunCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19*4882a593SmuzhiyunEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20*4882a593SmuzhiyunPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21*4882a593SmuzhiyunPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22*4882a593SmuzhiyunOF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25