/external/chromium/chrome/browser/history/ |
D | visitsegment_database.cc | 45 if (!GetDB().DoesTableExist("segments")) { in InitSegmentTables() 46 if (!GetDB().Execute("CREATE TABLE segments (" in InitSegmentTables() 55 if (!GetDB().Execute("CREATE INDEX segments_name ON segments(name)")) { in InitSegmentTables() 63 GetDB().Execute("CREATE INDEX segments_url_id ON segments(url_id)"); in InitSegmentTables() 66 if (!GetDB().DoesTableExist("segment_usage")) { in InitSegmentTables() 67 if (!GetDB().Execute("CREATE TABLE segment_usage (" in InitSegmentTables() 75 if (!GetDB().Execute( in InitSegmentTables() 84 GetDB().Execute("CREATE INDEX segments_usage_seg_id " in InitSegmentTables() 94 if (!GetDB().DoesTableExist("presentation")) { in InitSegmentTables() 95 if (!GetDB().Execute("CREATE TABLE presentation(" in InitSegmentTables() [all …]
|
D | url_database.cc | 90 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in GetURLRow() 104 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in GetAllTypedUrls() 118 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in GetRowForURL() 135 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in UpdateURLRow() 172 sql::Statement statement(GetDB().GetCachedStatement( in AddURLInternal() 175 NOTREACHED() << GetDB().GetErrorMessage(); in AddURLInternal() 191 return GetDB().GetLastInsertRowId(); in AddURLInternal() 195 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in DeleteURLRow() 208 sql::Statement del_keyword_visit(GetDB().GetCachedStatement(SQL_FROM_HERE, in DeleteURLRow() 229 if (!GetDB().Execute("DROP TABLE urls")) { in CommitTemporaryURLTable() [all …]
|
D | visit_database.cc | 32 if (!GetDB().DoesTableExist("visits")) { in InitVisitTable() 33 if (!GetDB().Execute("CREATE TABLE visits(" in InitVisitTable() 43 } else if (!GetDB().DoesColumnExist("visits", "is_indexed")) { in InitVisitTable() 50 if (!GetDB().Execute("ALTER TABLE visits ADD COLUMN is_indexed BOOLEAN")) in InitVisitTable() 59 if (!GetDB().DoesTableExist("visit_source")) { in InitVisitTable() 60 if (!GetDB().Execute("CREATE TABLE visit_source(" in InitVisitTable() 67 GetDB().Execute("CREATE INDEX visits_url_index ON visits (url)"); in InitVisitTable() 71 GetDB().Execute("CREATE INDEX visits_from_index ON visits (from_visit)"); in InitVisitTable() 76 GetDB().Execute("CREATE INDEX visits_time_index ON visits (visit_time)"); in InitVisitTable() 82 GetDB().Execute("DROP TABLE visit_source"); in DropVisitTable() [all …]
|
D | download_database.cc | 64 if (!GetDB().DoesTableExist("downloads")) { in InitDownloadTable() 65 if (!GetDB().Execute( in InitDownloadTable() 80 return GetDB().Execute("DROP TABLE downloads"); in DropDownloadTable() 87 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in QueryDownloads() 113 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in UpdateDownload() 128 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in UpdateDownloadPath() 139 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in CleanUpInProgressEntries() 149 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in CreateDownload() 164 return GetDB().GetLastInsertRowId(); in CreateDownload() 169 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in RemoveDownload() [all …]
|
D | in_memory_database.cc | 27 NOTREACHED() << "Cannot open databse " << GetDB().GetErrorMessage(); in InitDB() 71 sql::Statement attach(GetDB().GetUniqueStatement("ATTACH ? AS history")); in InitFromDisk() 82 NOTREACHED() << GetDB().GetErrorMessage(); in InitFromDisk() 142 sql::Connection& InMemoryDatabase::GetDB() { in GetDB() function in history::InMemoryDatabase
|
D | starred_url_database.cc | 92 if (!GetDB().DoesTableExist("starred")) in MigrateBookmarksToFile() 100 if (!GetDB().Execute("DROP TABLE starred")) { in MigrateBookmarksToFile() 115 sql::Statement s(GetDB().GetUniqueStatement(sql.c_str())); in GetAllStarredEntries() 158 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in UpdateStarredEntryRow() 176 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in AdjustStarredVisualOrder() 197 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in CreateStarredEntryRow() 228 return GetDB().GetLastInsertRowId(); in CreateStarredEntryRow() 233 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in DeleteStarredEntryRow() 244 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, in GetStarredEntry() 305 sql::Statement max_folder_id_statement(GetDB().GetUniqueStatement( in GetMaxFolderID() [all …]
|
D | text_database_manager.cc | 337 TextDatabase* db = GetDB(db_ident, false); in DeletePageData() 340 db = GetDB(db_ident, true); in DeletePageData() 402 TextDatabase* db = GetDB(*i, false); in OptimizeChangedDatabases() 405 db = GetDB(*i, true); in OptimizeChangedDatabases() 462 TextDatabase* cur_db = GetDB(*i, false); in GetTextMatches() 491 TextDatabase* TextDatabaseManager::GetDB(TextDatabase::DBIdent id, in GetDB() function in history::TextDatabaseManager 531 return GetDB(TimeToID(time), create_if_necessary); in GetDBForTime()
|
D | in_memory_database.h | 36 virtual sql::Connection& GetDB();
|
D | archived_database.h | 44 virtual sql::Connection& GetDB();
|
D | download_database.h | 56 virtual sql::Connection& GetDB() = 0;
|
D | visitsegment_database.h | 74 virtual sql::Connection& GetDB() = 0;
|
D | history_database.h | 150 virtual sql::Connection& GetDB();
|
D | archived_database.cc | 83 sql::Connection& ArchivedDatabase::GetDB() { in GetDB() function in history::ArchivedDatabase
|
D | url_database_unittest.cc | 44 virtual sql::Connection& GetDB() { in GetDB() function in history::URLDatabaseTest 238 sql::Statement statement(GetDB().GetCachedStatement( in TEST_F()
|
D | visit_database.h | 154 virtual sql::Connection& GetDB() = 0;
|
D | starred_url_database.h | 46 virtual sql::Connection& GetDB() = 0;
|
D | url_database.h | 273 virtual sql::Connection& GetDB() = 0;
|
D | text_database_manager.h | 230 TextDatabase* GetDB(TextDatabase::DBIdent id, bool for_writing);
|
D | history_database.cc | 242 sql::Connection& HistoryDatabase::GetDB() { in GetDB() function in history::HistoryDatabase
|
D | starred_url_database_unittest.cc | 93 virtual sql::Connection& GetDB() { in GetDB() function in history::StarredURLDatabaseTest
|
D | visit_database_unittest.cc | 62 virtual sql::Connection& GetDB() { in GetDB() function in history::VisitDatabaseTest
|
D | in_memory_url_index_unittest.cc | 59 sql::Connection& db(GetDB()); in SetUp() 170 sql::Statement statement(GetDB().GetUniqueStatement("SELECT * FROM urls;")); in TEST_F()
|
D | text_database_manager_unittest.cc | 56 virtual sql::Connection& GetDB() { return db_; } in GetDB() function in history::__anonae80ec510111::InMemDB
|