Home
last modified time | relevance | path

Searched refs:db_handle (Results 1 – 23 of 23) sorted by relevance

/external/chromium/chrome/browser/history/
Ddownload_database.cc97 info.db_handle = statement.ColumnInt64(0); in QueryDownloads()
111 DownloadID db_handle) { in UpdateDownload() argument
112 DCHECK(db_handle > 0); in UpdateDownload()
121 statement.BindInt64(2, db_handle); in UpdateDownload()
126 DownloadID db_handle) { in UpdateDownloadPath() argument
127 DCHECK(db_handle > 0); in UpdateDownloadPath()
134 statement.BindInt64(1, db_handle); in UpdateDownloadPath()
168 void DownloadDatabase::RemoveDownload(DownloadID db_handle) { in RemoveDownload() argument
174 statement.BindInt64(0, db_handle); in RemoveDownload()
Ddownload_database.h31 bool UpdateDownload(int64 received_bytes, int32 state, DownloadID db_handle);
34 bool UpdateDownloadPath(const FilePath& path, DownloadID db_handle);
46 void RemoveDownload(DownloadID db_handle);
Ddownload_types.cc25 db_handle(0), in DownloadCreateInfo()
40 db_handle(0), in DownloadCreateInfo()
Ddownload_create_info.cc32 db_handle(0), in DownloadCreateInfo()
49 db_handle(0), in DownloadCreateInfo()
Dhistory.cc544 int64 db_handle) { in UpdateDownload() argument
546 received_bytes, state, db_handle); in UpdateDownload()
550 int64 db_handle) { in UpdateDownloadPath() argument
552 path, db_handle); in UpdateDownloadPath()
555 void HistoryService::RemoveDownload(int64 db_handle) { in RemoveDownload() argument
557 &HistoryBackend::RemoveDownload, db_handle); in RemoveDownload()
Dhistory_backend.h240 void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle);
241 void UpdateDownloadPath(const FilePath& path, int64 db_handle);
244 void RemoveDownload(int64 db_handle);
Ddownload_create_info.h63 int64 db_handle; member
Dhistory.h448 void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle);
452 void UpdateDownloadPath(const FilePath& path, int64 db_handle);
456 void RemoveDownload(int64 db_handle);
Dhistory_backend.cc1120 int64 db_handle) { in UpdateDownload() argument
1122 db_->UpdateDownload(received_bytes, state, db_handle); in UpdateDownload()
1127 int64 db_handle) { in UpdateDownloadPath() argument
1129 db_->UpdateDownloadPath(path, db_handle); in UpdateDownloadPath()
1136 int64 db_handle = 0; in CreateDownload() local
1139 db_handle = db_->CreateDownload(create_info); in CreateDownload()
1141 db_handle)); in CreateDownload()
1145 void HistoryBackend::RemoveDownload(int64 db_handle) { in RemoveDownload() argument
1147 db_->RemoveDownload(db_handle); in RemoveDownload()
/external/chromium/chrome/browser/download/
Ddownload_history.cc71 if (download_item->db_handle() <= kUninitializedHandle) in UpdateEntry()
81 download_item->db_handle()); in UpdateEntry()
87 if (download_item->db_handle() <= kUninitializedHandle) in UpdateDownloadPath()
93 hs->UpdateDownloadPath(new_path, download_item->db_handle()); in UpdateDownloadPath()
98 if (download_item->db_handle() <= kUninitializedHandle) in RemoveEntry()
104 hs->RemoveDownload(download_item->db_handle()); in RemoveEntry()
Ddownload_manager.cc620 return (download->db_handle() != DownloadHistory::kUninitializedHandle); in IsDownloadReadyForCompletion()
640 DCHECK(download->db_handle() != DownloadHistory::kUninitializedHandle); in MaybeCompleteDownload()
641 DCHECK_EQ(1u, history_downloads_.count(download->db_handle())); in MaybeCompleteDownload()
704 if (download->db_handle() != DownloadHistory::kUninitializedHandle) { in DownloadCancelled()
755 if (download->db_handle() != DownloadHistory::kUninitializedHandle) { in OnDownloadError()
1012 DCHECK(!ContainsKey(history_downloads_, download->db_handle())); in OnQueryDownloadEntriesComplete()
1014 history_downloads_[download->db_handle()] = download; in OnQueryDownloadEntriesComplete()
1026 int64 db_handle) { in OnCreateDownloadEntryComplete() argument
1032 VLOG(20) << __FUNCTION__ << "()" << " db_handle = " << db_handle in OnCreateDownloadEntryComplete()
1041 if (db_handle == DownloadHistory::kUninitializedHandle) in OnCreateDownloadEntryComplete()
[all …]
Ddownload_browsertest.cc720 if (it->db_handle == download_db_handle_) { in OnQueryDownloadsComplete()
1281 int64 db_handle = downloads[0]->db_handle(); in IN_PROC_BROWSER_TEST_F() local
1290 db_handle, in IN_PROC_BROWSER_TEST_F()
1293 EXPECT_TRUE(history_collector.GetDownloadsHistoryEntry(&info)) << db_handle; in IN_PROC_BROWSER_TEST_F()
Ddownload_item.h259 int64 db_handle() const { return db_handle_; } in db_handle() function
Ddownload_item.cc130 db_handle_(info.db_handle), in DownloadItem()
664 db_handle(), in DebugString()
Ddownload_manager.h198 DownloadCreateInfo info, int64 db_handle);
/external/chromium/chrome/common/
Dsqlite_utils.cc298 return error_handler->HandleError(status, db_handle()); in step()
308 return sqlite3_last_insert_rowid(db_handle()); in last_insert_rowid()
313 return sqlite3_changes(db_handle()); in changes()
316 sqlite3* SQLStatement::db_handle() { in db_handle() function in SQLStatement
Dsqlite_utils.h243 sqlite3* db_handle();
/external/webkit/WebKitLibraries/WebCoreSQLite3/
Dsqlite3ext.h86 sqlite3 * (*db_handle)(sqlite3_stmt*); member
262 #define sqlite3_db_handle sqlite3_api->db_handle
/external/sqlite/dist/
Dsqlite3ext.h94 sqlite3 * (*db_handle)(sqlite3_stmt*); member
305 #define sqlite3_db_handle sqlite3_api->db_handle
Dsqlite3.c91078 sqlite3 * (*db_handle)(sqlite3_stmt*);
91289 #define sqlite3_db_handle sqlite3_api->db_handle
/external/sqlite/dist/orig/
Dsqlite3ext.h94 sqlite3 * (*db_handle)(sqlite3_stmt*); member
305 #define sqlite3_db_handle sqlite3_api->db_handle
Dsqlite3.c91067 sqlite3 * (*db_handle)(sqlite3_stmt*);
91278 #define sqlite3_db_handle sqlite3_api->db_handle
/external/chromium/net/socket/
Dssl_client_socket_nss.cc1973 CERTCertDBHandle* db_handle = CERT_GetDefaultCertDB(); in PlatformClientAuthHandler() local
1975 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler()
1987 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler()