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

Side by Side Diff: chrome/common/sqlite_utils.h

Issue 3108030: Move bundled copy of sqlite one level deeper to better separate it... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « chrome/common/sqlite_compiled_statement.cc ('k') | chrome/renderer/render_thread.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_COMMON_SQLITE_UTILS_H_ 5 #ifndef CHROME_COMMON_SQLITE_UTILS_H_
6 #define CHROME_COMMON_SQLITE_UTILS_H_ 6 #define CHROME_COMMON_SQLITE_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "third_party/sqlite/preprocessed/sqlite3.h" 16 #include "third_party/sqlite/sqlite3.h"
17 17
18 // forward declarations of classes defined here 18 // forward declarations of classes defined here
19 class FilePath; 19 class FilePath;
20 class SQLTransaction; 20 class SQLTransaction;
21 class SQLNestedTransaction; 21 class SQLNestedTransaction;
22 class SQLNestedTransactionSite; 22 class SQLNestedTransactionSite;
23 class scoped_sqlite3_stmt_ptr; 23 class scoped_sqlite3_stmt_ptr;
24 class SQLStatement; 24 class SQLStatement;
25 25
26 //------------------------------------------------------------------------------ 26 //------------------------------------------------------------------------------
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 return DoesSqliteColumnExist(db, NULL, table_name, column_name, column_type); 391 return DoesSqliteColumnExist(db, NULL, table_name, column_name, column_type);
392 } 392 }
393 393
394 // Test whether a table has one or more rows. Returns true if the table 394 // Test whether a table has one or more rows. Returns true if the table
395 // has one or more rows and false if the table is empty or doesn't exist. 395 // has one or more rows and false if the table is empty or doesn't exist.
396 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name); 396 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name);
397 397
398 } // namespace sqlite_utils 398 } // namespace sqlite_utils
399 399
400 #endif // CHROME_COMMON_SQLITE_UTILS_H_ 400 #endif // CHROME_COMMON_SQLITE_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/common/sqlite_compiled_statement.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698