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

/external/chromium/chrome/browser/history/
H A 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);
H A Ddownload_types.cc25 db_handle(0),
40 db_handle(0),
H A Ddownload_database.cc97 info.db_handle = statement.ColumnInt64(0);
111 DownloadID db_handle) {
112 DCHECK(db_handle > 0);
121 statement.BindInt64(2, db_handle);
126 DownloadID db_handle) {
127 DCHECK(db_handle > 0);
134 statement.BindInt64(1, db_handle);
168 void DownloadDatabase::RemoveDownload(DownloadID db_handle) { argument
174 statement.BindInt64(0, db_handle);
109 UpdateDownload(int64 received_bytes, int32 state, DownloadID db_handle) argument
125 UpdateDownloadPath(const FilePath& path, DownloadID db_handle) argument
H A Ddownload_create_info.cc32 db_handle(0),
49 db_handle(0),
H A Ddownload_create_info.h63 int64 db_handle; member in struct:DownloadCreateInfo
H A Dhistory.cc544 int64 db_handle) {
546 received_bytes, state, db_handle);
550 int64 db_handle) {
552 path, db_handle);
555 void HistoryService::RemoveDownload(int64 db_handle) { argument
557 &HistoryBackend::RemoveDownload, db_handle);
542 UpdateDownload(int64 received_bytes, int32 state, int64 db_handle) argument
549 UpdateDownloadPath(const FilePath& path, int64 db_handle) argument
H A 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);
H A Dhistory_backend.cc1120 int64 db_handle) {
1122 db_->UpdateDownload(received_bytes, state, db_handle);
1127 int64 db_handle) {
1129 db_->UpdateDownloadPath(path, db_handle);
1132 // Create a new download entry and pass back the db_handle to it.
1136 int64 db_handle = 0; local
1139 db_handle = db_->CreateDownload(create_info);
1141 db_handle));
1145 void HistoryBackend::RemoveDownload(int64 db_handle) { argument
1147 db_->RemoveDownload(db_handle);
1118 UpdateDownload(int64 received_bytes, int32 state, int64 db_handle) argument
1126 UpdateDownloadPath(const FilePath& path, int64 db_handle) argument
[all...]
H A 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);
/external/chromium/chrome/browser/download/
H A Ddownload_history.cc71 if (download_item->db_handle() <= kUninitializedHandle)
81 download_item->db_handle());
87 if (download_item->db_handle() <= kUninitializedHandle)
93 hs->UpdateDownloadPath(new_path, download_item->db_handle());
98 if (download_item->db_handle() <= kUninitializedHandle)
104 hs->RemoveDownload(download_item->db_handle());
H A Ddownload_manager.cc620 return (download->db_handle() != DownloadHistory::kUninitializedHandle);
640 DCHECK(download->db_handle() != DownloadHistory::kUninitializedHandle);
641 DCHECK_EQ(1u, history_downloads_.count(download->db_handle()));
703 // don't have a valid db_handle yet.
704 if (download->db_handle() != DownloadHistory::kUninitializedHandle) {
754 // don't have a valid db_handle yet.
755 if (download->db_handle() != DownloadHistory::kUninitializedHandle) {
1012 DCHECK(!ContainsKey(history_downloads_, download->db_handle()));
1014 history_downloads_[download->db_handle()] = download;
1026 int64 db_handle) {
1024 OnCreateDownloadEntryComplete( DownloadCreateInfo info, int64 db_handle) argument
[all...]
H A Ddownload_item.h259 int64 db_handle() const { return db_handle_; } function in class:DownloadItem
H A Ddownload_browsertest.cc720 if (it->db_handle == download_db_handle_) {
1281 int64 db_handle = downloads[0]->db_handle(); local
1290 db_handle,
1293 EXPECT_TRUE(history_collector.GetDownloadsHistoryEntry(&info)) << db_handle;
H A Ddownload_item.cc130 db_handle_(info.db_handle),
655 " db_handle = %" PRId64
664 db_handle(),
H A Ddownload_manager.h198 DownloadCreateInfo info, int64 db_handle);
/external/chromium/chrome/common/
H A Dsqlite_utils.cc298 return error_handler->HandleError(status, db_handle());
308 return sqlite3_last_insert_rowid(db_handle());
313 return sqlite3_changes(db_handle());
316 sqlite3* SQLStatement::db_handle() { function in class:SQLStatement
H A Dsqlite_utils.h243 sqlite3* db_handle();
/external/webkit/WebKitLibraries/WebCoreSQLite3/
H A Dsqlite3ext.h86 sqlite3 * (*db_handle)(sqlite3_stmt*); member in struct:sqlite3_api_routines
262 #define sqlite3_db_handle sqlite3_api->db_handle
/external/sqlite/dist/orig/
H A Dsqlite3ext.h94 sqlite3 * (*db_handle)(sqlite3_stmt*); member in struct:sqlite3_api_routines
305 #define sqlite3_db_handle sqlite3_api->db_handle
H A Dsqlite3.c[all...]
/external/sqlite/dist/
H A Dsqlite3ext.h94 sqlite3 * (*db_handle)(sqlite3_stmt*); member in struct:sqlite3_api_routines
305 #define sqlite3_db_handle sqlite3_api->db_handle
H A Dsqlite3.c[all...]
/external/chromium/net/socket/
H A Dssl_client_socket_nss.cc1973 CERTCertDBHandle* db_handle = CERT_GetDefaultCertDB(); local
1975 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE);
1987 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE);

Completed in 1357 milliseconds