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

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

Issue 384103: This patch is the rest of the lint cleanup minus the other open issue. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « chrome/common/sqlite_compiled_statement.h ('k') | chrome/common/temp_scaffolding_stubs.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_SQLITEUTILS_H_ 5 #ifndef CHROME_COMMON_SQLITE_UTILS_H_
6 #define CHROME_COMMON_SQLITEUTILS_H_ 6 #define CHROME_COMMON_SQLITE_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #if defined(USE_SYSTEM_SQLITE) 11 #if defined(USE_SYSTEM_SQLITE)
12 #include <sqlite3.h> 12 #include <sqlite3.h>
13 #else 13 #else
14 #include "third_party/sqlite/preprocessed/sqlite3.h" 14 #include "third_party/sqlite/preprocessed/sqlite3.h"
15 #endif 15 #endif
16 16
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // Test whether a table has one or more rows. Returns true if the table 407 // Test whether a table has one or more rows. Returns true if the table
408 // has one or more rows and false if the table is empty or doesn't exist. 408 // has one or more rows and false if the table is empty or doesn't exist.
409 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name); 409 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name);
410 410
411 #if defined(USE_SYSTEM_SQLITE) 411 #if defined(USE_SYSTEM_SQLITE)
412 // This function is a local change to sqlite3 which doesn't exist when one is 412 // This function is a local change to sqlite3 which doesn't exist when one is
413 // using the system sqlite library. Thus, we stub it out here. 413 // using the system sqlite library. Thus, we stub it out here.
414 int sqlite3Preload(sqlite3* db); 414 int sqlite3Preload(sqlite3* db);
415 #endif 415 #endif
416 416
417 #endif // CHROME_COMMON_SQLITEUTILS_H_ 417 #endif // CHROME_COMMON_SQLITE_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/common/sqlite_compiled_statement.h ('k') | chrome/common/temp_scaffolding_stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698