Home | History | Annotate | Download | only in sql
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef SQL_ERROR_DELEGATE_UTIL_H_
      6 #define SQL_ERROR_DELEGATE_UTIL_H_
      7 
      8 #include "sql/sql_export.h"
      9 
     10 namespace sql {
     11 
     12 // Returns true if it is highly unlikely that the database can recover from
     13 // |error|.
     14 SQL_EXPORT bool IsErrorCatastrophic(int error);
     15 
     16 }  // namespace sql
     17 
     18 #endif  // SQL_ERROR_DELEGATE_UTIL_H_
     19