void CookieServiceParent::GetAppInfoFromLoadContext( const IPC::SerializedLoadContext &aLoadContext, uint32_t& aAppId, bool& aIsInBrowserElement) { // TODO: bug 782542: what to do when we get null loadContext? For now assume // NECKO_NO_APP_ID. aAppId = NECKO_NO_APP_ID; aIsInBrowserElement = false; if (aLoadContext.IsNotNull()) { aAppId = aLoadContext.mAppId; aIsInBrowserElement = aLoadContext.mIsInBrowserElement; } }