Modified: trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStatistics.cpp (185806 => 185807)
--- trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStatistics.cpp 2015-06-21 13:15:54 UTC (rev 185806)
+++ trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStatistics.cpp 2015-06-21 13:15:57 UTC (rev 185807)
@@ -123,16 +123,16 @@
m_approximateEntryCount = statement.getColumnInt(0);
#if !LOG_DISABLED
- auto elapsedMS = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - startTime).count();
+ auto elapsedMS = static_cast<int64_t>(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - startTime).count());
#endif
- LOG(NetworkCache, "(NetworkProcess) Network cache statistics database load complete, entries=%lu time=%lldms", static_cast<size_t>(m_approximateEntryCount), elapsedMS);
+ LOG(NetworkCache, "(NetworkProcess) Network cache statistics database load complete, entries=%lu time=%" PRIi64 "ms", static_cast<size_t>(m_approximateEntryCount), elapsedMS);
if (!m_approximateEntryCount) {
bootstrapFromNetworkCache(networkCachePathCapture.string());
#if !LOG_DISABLED
- elapsedMS = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - startTime).count();
+ elapsedMS = static_cast<int64_t>(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - startTime).count());
#endif
- LOG(NetworkCache, "(NetworkProcess) Network cache statistics database bootstrapping complete, entries=%lu time=%lldms", static_cast<size_t>(m_approximateEntryCount), elapsedMS);
+ LOG(NetworkCache, "(NetworkProcess) Network cache statistics database bootstrapping complete, entries=%lu time=%" PRIi64 "ms", static_cast<size_t>(m_approximateEntryCount), elapsedMS);
}
});
}
@@ -219,7 +219,7 @@
queryWasEverRequested(hash, NeedUncachedReason::No, [this, hash, requestURL, webPageID, retrieveDecision](bool wasEverRequested, const Optional<StoreDecision>&) {
if (wasEverRequested) {
String diagnosticKey = retrieveDecisionToDiagnosticKey(retrieveDecision);
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s was previously requested but we are not using the cache, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s was previously requested but we are not using the cache, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::unusedKey(), diagnosticKey, WebCore::ShouldSample::Yes);
} else {
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::requestKey(), WebCore::DiagnosticLoggingKeys::neverSeenBeforeKey(), WebCore::ShouldSample::Yes);
@@ -260,7 +260,7 @@
queryWasEverRequested(hash, NeedUncachedReason::Yes, [this, hash, requestURL, webPageID](bool wasPreviouslyRequested, const Optional<StoreDecision>& storeDecision) {
if (wasPreviouslyRequested) {
String diagnosticKey = storeDecisionToDiagnosticKey(storeDecision.value());
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s was previously request but is not in the cache, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s was previously request but is not in the cache, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::notInCacheKey(), diagnosticKey, WebCore::ShouldSample::Yes);
} else {
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::requestKey(), WebCore::DiagnosticLoggingKeys::neverSeenBeforeKey(), WebCore::ShouldSample::Yes);
@@ -290,26 +290,26 @@
{
WebCore::URL requestURL = request.url();
if (decision == UseDecision::Use) {
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s is in the cache and is used", webPageID, requestURL.string().ascii().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s is in the cache and is used", webPageID, requestURL.string().ascii().data());
NetworkProcess::singleton().logDiagnosticMessageWithResult(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::retrievalKey(), WebCore::DiagnosticLoggingResultPass, WebCore::ShouldSample::Yes);
return;
}
if (decision == UseDecision::Validate) {
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s is in the cache but needs revalidation", webPageID, requestURL.string().ascii().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s is in the cache but needs revalidation", webPageID, requestURL.string().ascii().data());
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::retrievalKey(), WebCore::DiagnosticLoggingKeys::needsRevalidationKey(), WebCore::ShouldSample::Yes);
return;
}
String diagnosticKey = cachedEntryReuseFailureToDiagnosticKey(decision);
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s is in the cache but wasn't used, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s is in the cache but wasn't used, reason: %s", webPageID, requestURL.string().ascii().data(), diagnosticKey.utf8().data());
NetworkProcess::singleton().logDiagnosticMessageWithValue(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::unusableCachedEntryKey(), diagnosticKey, WebCore::ShouldSample::Yes);
}
void Statistics::recordRevalidationSuccess(uint64_t webPageID, const Key& key, const WebCore::ResourceRequest& request)
{
WebCore::URL requestURL = request.url();
- LOG(NetworkCache, "(NetworkProcess) webPageID %llu: %s was successfully revalidated", webPageID, requestURL.string().ascii().data());
+ LOG(NetworkCache, "(NetworkProcess) webPageID %" PRIu64 ": %s was successfully revalidated", webPageID, requestURL.string().ascii().data());
NetworkProcess::singleton().logDiagnosticMessageWithResult(webPageID, WebCore::DiagnosticLoggingKeys::networkCacheKey(), WebCore::DiagnosticLoggingKeys::revalidatingKey(), WebCore::DiagnosticLoggingResultPass, WebCore::ShouldSample::Yes);
}
Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp (185806 => 185807)
--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp 2015-06-21 13:15:54 UTC (rev 185806)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp 2015-06-21 13:15:57 UTC (rev 185807)
@@ -96,14 +96,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess deleteDatabase request ID %llu", requestID);
+ LOG(IDB, "WebProcess deleteDatabase request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::DeleteDatabase(requestID, name));
}
void WebIDBServerConnection::didDeleteDatabase(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didDeleteDatabase request ID %llu", requestID);
+ LOG(IDB, "WebProcess didDeleteDatabase request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -126,14 +126,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess getOrEstablishIDBDatabaseMetadata request ID %llu", requestID);
+ LOG(IDB, "WebProcess getOrEstablishIDBDatabaseMetadata request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::GetOrEstablishIDBDatabaseMetadata(requestID));
}
void WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata(uint64_t requestID, bool success, const IDBDatabaseMetadata& metadata)
{
- LOG(IDB, "WebProcess didGetOrEstablishIDBDatabaseMetadata request ID %llu", requestID);
+ LOG(IDB, "WebProcess didGetOrEstablishIDBDatabaseMetadata request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -169,7 +169,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess openTransaction ID %lli (request ID %llu)", transactionID, requestID);
+ LOG(IDB, "WebProcess openTransaction ID %" PRIi64 " (request ID %" PRIu64 ")", transactionID, requestID);
Vector<int64_t> objectStoreIDVector;
copyToVector(objectStoreIDs, objectStoreIDVector);
@@ -178,7 +178,7 @@
void WebIDBServerConnection::didOpenTransaction(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didOpenTransaction request ID %llu", requestID);
+ LOG(IDB, "WebProcess didOpenTransaction request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -196,14 +196,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess beginTransaction ID %lli (request ID %llu)", transactionID, requestID);
+ LOG(IDB, "WebProcess beginTransaction ID %" PRIi64 " (request ID %" PRIu64 ")", transactionID, requestID);
send(Messages::DatabaseProcessIDBConnection::BeginTransaction(requestID, transactionID));
}
void WebIDBServerConnection::didBeginTransaction(uint64_t requestID, bool)
{
- LOG(IDB, "WebProcess didBeginTransaction request ID %llu", requestID);
+ LOG(IDB, "WebProcess didBeginTransaction request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -225,14 +225,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess commitTransaction ID %lli (request ID %llu)", transactionID, requestID);
+ LOG(IDB, "WebProcess commitTransaction ID %" PRIi64 " (request ID %" PRIu64 ")", transactionID, requestID);
send(Messages::DatabaseProcessIDBConnection::CommitTransaction(requestID, transactionID));
}
void WebIDBServerConnection::didCommitTransaction(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didCommitTransaction request ID %llu", requestID);
+ LOG(IDB, "WebProcess didCommitTransaction request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -250,14 +250,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess resetTransaction ID %lli (request ID %llu)", transactionID, requestID);
+ LOG(IDB, "WebProcess resetTransaction ID %" PRIi64 " (request ID %" PRIu64 ")", transactionID, requestID);
send(Messages::DatabaseProcessIDBConnection::ResetTransaction(requestID, transactionID));
}
void WebIDBServerConnection::didResetTransaction(uint64_t requestID, bool)
{
- LOG(IDB, "WebProcess didResetTransaction request ID %llu", requestID);
+ LOG(IDB, "WebProcess didResetTransaction request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -282,14 +282,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess rollbackTransaction ID %lli (request ID %llu)", transactionID, requestID);
+ LOG(IDB, "WebProcess rollbackTransaction ID %" PRIi64 " (request ID %" PRIu64 ")", transactionID, requestID);
send(Messages::DatabaseProcessIDBConnection::RollbackTransaction(requestID, transactionID));
}
void WebIDBServerConnection::didRollbackTransaction(uint64_t requestID, bool)
{
- LOG(IDB, "WebProcess didRollbackTransaction request ID %llu", requestID);
+ LOG(IDB, "WebProcess didRollbackTransaction request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -323,14 +323,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess createObjectStore '%s' in transaction ID %llu (request ID %llu)", operation.objectStoreMetadata().name.utf8().data(), transaction.id(), requestID);
+ LOG(IDB, "WebProcess createObjectStore '%s' in transaction ID %" PRIi64 " (request ID %" PRIu64 ")", operation.objectStoreMetadata().name.utf8().data(), transaction.id(), requestID);
send(Messages::DatabaseProcessIDBConnection::CreateObjectStore(requestID, transaction.id(), operation.objectStoreMetadata()));
}
void WebIDBServerConnection::didCreateObjectStore(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didCreateObjectStore request ID %llu", requestID);
+ LOG(IDB, "WebProcess didCreateObjectStore request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -352,14 +352,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess create index request ID %llu", requestID);
+ LOG(IDB, "WebProcess create index request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::CreateIndex(requestID, transaction.id(), operation.objectStoreID(), operation.idbIndexMetadata()));
}
void WebIDBServerConnection::didCreateIndex(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didCreateIndex request ID %llu", requestID);
+ LOG(IDB, "WebProcess didCreateIndex request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -381,14 +381,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess delete index request ID %llu", requestID);
+ LOG(IDB, "WebProcess delete index request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::DeleteIndex(requestID, transaction.id(), operation.objectStoreID(), operation.idbIndexMetadata().id));
}
void WebIDBServerConnection::didDeleteIndex(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didDeleteIndex request ID %llu", requestID);
+ LOG(IDB, "WebProcess didDeleteIndex request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -410,7 +410,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess get request ID %llu", requestID);
+ LOG(IDB, "WebProcess get request ID %" PRIu64, requestID);
ASSERT(operation.keyRange());
@@ -429,7 +429,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess put request ID %llu", requestID);
+ LOG(IDB, "WebProcess put request ID %" PRIu64, requestID);
ASSERT(operation.value());
@@ -447,7 +447,7 @@
void WebIDBServerConnection::didPutRecord(uint64_t requestID, const WebCore::IDBKeyData& resultKey, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didPutRecord request ID %llu (error - %s)", requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didPutRecord request ID %" PRIu64 " (error - %s)", requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -459,7 +459,7 @@
void WebIDBServerConnection::didGetRecord(uint64_t requestID, const WebCore::IDBGetResult& getResult, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didGetRecord request ID %llu (error - %s)", requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didGetRecord request ID %" PRIu64 " (error - %s)", requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -471,7 +471,7 @@
void WebIDBServerConnection::didOpenCursor(uint64_t requestID, int64_t cursorID, const IDBKeyData& key, const IDBKeyData& primaryKey, const IPC::DataReference& valueData, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didOpenCursor request ID %llu (error - %s)", requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didOpenCursor request ID %" PRIu64 " (error - %s)", requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -484,7 +484,7 @@
void WebIDBServerConnection::didAdvanceCursor(uint64_t requestID, const IDBKeyData& key, const IDBKeyData& primaryKey, const IPC::DataReference& valueData, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didAdvanceCursor request ID %llu (error - %s)", requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didAdvanceCursor request ID %" PRIu64 " (error - %s)", requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -497,7 +497,7 @@
void WebIDBServerConnection::didIterateCursor(uint64_t requestID, const IDBKeyData& key, const IDBKeyData& primaryKey, const IPC::DataReference& valueData, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didIterateCursor request ID %llu (error - %s)", requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didIterateCursor request ID %" PRIu64 " (error - %s)", requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -520,14 +520,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess count request ID %llu", requestID);
+ LOG(IDB, "WebProcess count request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::Count(requestID, transaction.id(), operation.objectStoreID(), operation.indexID(), IDBKeyRangeData(operation.keyRange())));
}
void WebIDBServerConnection::didCount(uint64_t requestID, int64_t count, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didCount %lli request ID %llu (error - %s)", count, requestID, errorMessage.utf8().data());
+ LOG(IDB, "WebProcess didCount %" PRIi64 " request ID %" PRIu64 " (error - %s)", count, requestID, errorMessage.utf8().data());
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -549,14 +549,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess deleteRange request ID %llu", requestID);
+ LOG(IDB, "WebProcess deleteRange request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::DeleteRange(requestID, transaction.id(), operation.objectStoreID(), IDBKeyRangeData(operation.keyRange())));
}
void WebIDBServerConnection::didDeleteRange(uint64_t requestID, uint32_t errorCode, const String& errorMessage)
{
- LOG(IDB, "WebProcess didDeleteRange request ID %llu", requestID);
+ LOG(IDB, "WebProcess didDeleteRange request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -578,14 +578,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess clearObjectStore request ID %llu", requestID);
+ LOG(IDB, "WebProcess clearObjectStore request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::ClearObjectStore(requestID, operation.transaction()->id(), operation.objectStoreID()));
}
void WebIDBServerConnection::didClearObjectStore(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didClearObjectStore request ID %llu", requestID);
+ LOG(IDB, "WebProcess didClearObjectStore request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -607,14 +607,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess deleteObjectStore request ID %llu", requestID);
+ LOG(IDB, "WebProcess deleteObjectStore request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::DeleteObjectStore(requestID, operation.transaction()->id(), operation.objectStoreMetadata().id));
}
void WebIDBServerConnection::didDeleteObjectStore(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didDeleteObjectStore request ID %llu", requestID);
+ LOG(IDB, "WebProcess didDeleteObjectStore request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -636,14 +636,14 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess changeDatabaseVersion request ID %llu", requestID);
+ LOG(IDB, "WebProcess changeDatabaseVersion request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::ChangeDatabaseVersion(requestID, operation.transaction()->id(), static_cast<uint64_t>(operation.version())));
}
void WebIDBServerConnection::didChangeDatabaseVersion(uint64_t requestID, bool success)
{
- LOG(IDB, "WebProcess didChangeDatabaseVersion request ID %llu", requestID);
+ LOG(IDB, "WebProcess didChangeDatabaseVersion request ID %" PRIu64, requestID);
RefPtr<AsyncRequest> serverRequest = m_serverRequests.take(requestID);
@@ -665,7 +665,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess openCursor request ID %llu", requestID);
+ LOG(IDB, "WebProcess openCursor request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::OpenCursor(requestID, operation.transactionID(), operation.objectStoreID(), operation.indexID(), static_cast<int64_t>(operation.direction()), static_cast<int64_t>(operation.cursorType()), static_cast<int64_t>(operation.taskType()), operation.keyRange()));
}
@@ -682,7 +682,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess cursorAdvance request ID %llu", requestID);
+ LOG(IDB, "WebProcess cursorAdvance request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::CursorAdvance(requestID, operation.cursorID(), operation.count()));
}
@@ -699,7 +699,7 @@
ASSERT(!m_serverRequests.contains(requestID));
m_serverRequests.add(requestID, serverRequest.release());
- LOG(IDB, "WebProcess cursorIterate request ID %llu", requestID);
+ LOG(IDB, "WebProcess cursorIterate request ID %" PRIu64, requestID);
send(Messages::DatabaseProcessIDBConnection::CursorIterate(requestID, operation.cursorID(), operation.key()));
}