1*1a96fba6SXin Li// Copyright 2014 The Chromium OS Authors. All rights reserved. 2*1a96fba6SXin Li// 3*1a96fba6SXin Li// Redistribution and use in source and binary forms, with or without 4*1a96fba6SXin Li// modification, are permitted provided that the following conditions are 5*1a96fba6SXin Li// met: 6*1a96fba6SXin Li// 7*1a96fba6SXin Li// * Redistributions of source code must retain the above copyright 8*1a96fba6SXin Li// notice, this list of conditions and the following disclaimer. 9*1a96fba6SXin Li// * Redistributions in binary form must reproduce the above 10*1a96fba6SXin Li// copyright notice, this list of conditions and the following disclaimer 11*1a96fba6SXin Li// in the documentation and/or other materials provided with the 12*1a96fba6SXin Li// distribution. 13*1a96fba6SXin Li// * Neither the name of Google Inc. nor the names of its 14*1a96fba6SXin Li// contributors may be used to endorse or promote products derived from 15*1a96fba6SXin Li// this software without specific prior written permission. 16*1a96fba6SXin Li// 17*1a96fba6SXin Li// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18*1a96fba6SXin Li// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19*1a96fba6SXin Li// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20*1a96fba6SXin Li// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21*1a96fba6SXin Li// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22*1a96fba6SXin Li// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23*1a96fba6SXin Li// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24*1a96fba6SXin Li// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25*1a96fba6SXin Li// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26*1a96fba6SXin Li// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27*1a96fba6SXin Li// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28