Index: third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
index 3d81c6454096fdb8d770c1410325f5ebaae0e66e..a7aeccf3ae64dfdd1f5d00a89e78a2936a4cb523 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
@@ -60,17 +60,17 @@ PassOwnPtr<WebIDBCallbacksImpl> WebIDBCallbacksImpl::create(IDBRequest* request) |
WebIDBCallbacksImpl::WebIDBCallbacksImpl(IDBRequest* request) |
: m_request(request) |
{ |
- m_asyncOperationId = InspectorInstrumentation::traceAsyncOperationStarting(m_request->executionContext(), "IndexedDB"); |
+ m_asyncOperationId = InspectorInstrumentation::traceAsyncOperationStarting(m_request->getExecutionContext(), "IndexedDB"); |
} |
WebIDBCallbacksImpl::~WebIDBCallbacksImpl() |
{ |
- InspectorInstrumentation::traceAsyncOperationCompleted(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentation::traceAsyncOperationCompleted(m_request->getExecutionContext(), m_asyncOperationId); |
} |
void WebIDBCallbacksImpl::onError(const WebIDBDatabaseError& error) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onError(DOMException::create(error.code(), error.message())); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
@@ -80,42 +80,42 @@ void WebIDBCallbacksImpl::onSuccess(const WebVector<WebString>& webStringList) |
Vector<String> stringList; |
for (size_t i = 0; i < webStringList.size(); ++i) |
stringList.append(webStringList[i]); |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(stringList); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(WebIDBCursor* cursor, const WebIDBKey& key, const WebIDBKey& primaryKey, const WebIDBValue& value) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(adoptPtr(cursor), key, primaryKey, IDBValue::create(value)); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(WebIDBDatabase* backend, const WebIDBMetadata& metadata) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(adoptPtr(backend), IDBDatabaseMetadata(metadata)); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(const WebIDBKey& key) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(key); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(const WebIDBValue& value) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(IDBValue::create(value)); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(const WebVector<WebIDBValue>& values) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
Vector<RefPtr<IDBValue>> idbValues(values.size()); |
for (size_t i = 0; i < values.size(); ++i) |
idbValues[i] = IDBValue::create(values[i]); |
@@ -125,35 +125,35 @@ void WebIDBCallbacksImpl::onSuccess(const WebVector<WebIDBValue>& values) |
void WebIDBCallbacksImpl::onSuccess(long long value) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(value); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess() |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, const WebIDBValue& value) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onSuccess(key, primaryKey, IDBValue::create(value)); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onBlocked(long long oldVersion) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onBlocked(oldVersion); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |
void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion, WebIDBDatabase* database, const WebIDBMetadata& metadata, unsigned short dataLoss, WebString dataLossMessage) |
{ |
- InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
+ InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->getExecutionContext(), m_asyncOperationId); |
m_request->onUpgradeNeeded(oldVersion, adoptPtr(database), IDBDatabaseMetadata(metadata), static_cast<WebIDBDataLoss>(dataLoss), dataLossMessage); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |