Center button vertically in snackbar.
[chromium-blink-merge.git] / sql / error_delegate_util.h
blob0c67c07ec7835b83303f9adc306cbe982dc2ed7a
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.
5 #ifndef SQL_ERROR_DELEGATE_UTIL_H_
6 #define SQL_ERROR_DELEGATE_UTIL_H_
8 #include "sql/sql_export.h"
10 namespace sql {
12 // Returns true if it is highly unlikely that the database can recover from
13 // |error|.
14 SQL_EXPORT bool IsErrorCatastrophic(int error);
16 } // namespace sql
18 #endif // SQL_ERROR_DELEGATE_UTIL_H_