diff options
Diffstat (limited to 'chrome/browser/safe_browsing')
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc index 27ab197..ea913d8 100644 --- a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc +++ b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -140,7 +140,7 @@ void BuildBloomFilter(int size_multiplier, bool ReadDatabase(const FilePath& path, std::vector<SBPrefix>* prefixes) { FilePath database_file = path.Append(FILE_PATH_LITERAL("database")); sqlite3* db = NULL; - if (OpenSqliteDb(database_file, &db) != SQLITE_OK) { + if (sqlite_utils::OpenSqliteDb(database_file, &db) != SQLITE_OK) { sqlite3_close(db); return false; } diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc index 802bbd2..b322c95 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc @@ -295,7 +295,7 @@ bool SafeBrowsingDatabaseBloom::Open() { if (db_) return true; - if (OpenSqliteDb(filename_, &db_) != SQLITE_OK) { + if (sqlite_utils::OpenSqliteDb(filename_, &db_) != SQLITE_OK) { sqlite3_close(db_); db_ = NULL; return false; @@ -307,7 +307,7 @@ bool SafeBrowsingDatabaseBloom::Open() { statement_cache_.reset(new SqliteStatementCache(db_)); - if (!DoesSqliteTableExist(db_, "add_prefix")) { + if (!sqlite_utils::DoesSqliteTableExist(db_, "add_prefix")) { if (!CreateTables()) { // Database could be corrupt, try starting from scratch. if (!ResetDatabase()) diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc index 37f5237..0ac8ec4 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc @@ -98,7 +98,7 @@ bool SafeBrowsingStoreSqlite::Open() { if (db_) return true; - if (OpenSqliteDb(filename_, &db_) != SQLITE_OK) { + if (sqlite_utils::OpenSqliteDb(filename_, &db_) != SQLITE_OK) { sqlite3_close(db_); db_ = NULL; return false; @@ -111,7 +111,7 @@ bool SafeBrowsingStoreSqlite::Open() { statement_cache_.reset(new SqliteStatementCache(db_)); - if (!DoesSqliteTableExist(db_, "add_prefix")) + if (!sqlite_utils::DoesSqliteTableExist(db_, "add_prefix")) return SetupDatabase(); return CheckCompatibleVersion(); |