Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Side by Side Diff: sql/init_status.h

Issue 7353026: Move app/sql/* files to sql/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sql/diagnostic_error_delegate.h ('k') | sql/meta_table.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APP_SQL_INIT_STATUS_H_ 5 #ifndef APP_SQL_INIT_STATUS_H_
6 #define APP_SQL_INIT_STATUS_H_ 6 #define APP_SQL_INIT_STATUS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace sql { 9 namespace sql {
10 10
11 // Used as the return value for some databases' init functions. 11 // Used as the return value for some databases' init functions.
12 enum InitStatus { 12 enum InitStatus {
13 INIT_OK, 13 INIT_OK,
14 14
15 // Some error, usually I/O related opening the file. 15 // Some error, usually I/O related opening the file.
16 INIT_FAILURE, 16 INIT_FAILURE,
17 17
18 // The database is from a future version of the app and cannot be read. 18 // The database is from a future version of the app and cannot be read.
19 INIT_TOO_NEW, 19 INIT_TOO_NEW,
20 }; 20 };
21 21
22 } // namespace sql 22 } // namespace sql
23 23
24 #endif // APP_SQL_INIT_STATUS_H_ 24 #endif // APP_SQL_INIT_STATUS_H_
OLDNEW
« no previous file with comments | « sql/diagnostic_error_delegate.h ('k') | sql/meta_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698