Lines Matching refs:m_sandboxExtension
44 : m_sandboxExtension(0)
50 if (m_sandboxExtension) {
51 WKSandboxExtensionInvalidate(m_sandboxExtension);
52 WKSandboxExtensionDestroy(m_sandboxExtension);
58 if (!m_sandboxExtension) {
64 const char *serializedFormat = WKSandboxExtensionGetSerializedFormat(m_sandboxExtension, &length);
70 WKSandboxExtensionDestroy(m_sandboxExtension);
71 m_sandboxExtension = 0;
76 ASSERT(!result.m_sandboxExtension);
85 result.m_sandboxExtension = WKSandboxExtensionCreateFromSerializedFormat(reinterpret_cast<const char*>(dataReference.data()), dataReference.size());
91 if (!handle.m_sandboxExtension)
157 ASSERT(!handle.m_sandboxExtension);
160 handle.m_sandboxExtension = WKSandboxExtensionCreate(standardizedPath.data(), wkSandboxExtensionType(type));
165 ASSERT(!handle.m_sandboxExtension);
179 handle.m_sandboxExtension = WKSandboxExtensionCreate(fileSystemRepresentation(path.data()).data(), wkSandboxExtensionType(type));
181 if (!handle.m_sandboxExtension) {
188 : m_sandboxExtension(handle.m_sandboxExtension)
190 handle.m_sandboxExtension = 0;
195 if (!m_sandboxExtension)
198 WKSandboxExtensionInvalidate(m_sandboxExtension);
199 WKSandboxExtensionDestroy(m_sandboxExtension);
204 ASSERT(m_sandboxExtension);
206 bool result = WKSandboxExtensionInvalidate(m_sandboxExtension);
207 WKSandboxExtensionDestroy(m_sandboxExtension);
208 m_sandboxExtension = 0;
215 ASSERT(m_sandboxExtension);
217 return WKSandboxExtensionConsume(m_sandboxExtension);
222 ASSERT(m_sandboxExtension);
224 bool result = WKSandboxExtensionConsume(m_sandboxExtension);
227 WKSandboxExtensionDestroy(m_sandboxExtension);
228 m_sandboxExtension = 0;