• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 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 APP_SQL_INIT_STATUS_H_
6 #define APP_SQL_INIT_STATUS_H_
7 
8 namespace sql {
9 
10 // Used as the return value for some databases' init functions.
11 enum InitStatus {
12   INIT_OK,
13 
14   // Some error, usually I/O related opening the file.
15   INIT_FAILURE,
16 
17   // The database is from a future version of the app and cannot be read.
18   INIT_TOO_NEW,
19 };
20 
21 }  // namespace sql
22 
23 #endif  // APP_SQL_INIT_STATUS_H_
24