nsresult PresentationRequestParent::DoRequest(const StartSessionRequest& aRequest) { MOZ_ASSERT(mService); return mService->StartSession(aRequest.url(), aRequest.sessionId(), aRequest.origin(), this); }
nsresult PresentationRequestParent::DoRequest(const StartSessionRequest& aRequest) { MOZ_ASSERT(mService); // Set window ID to 0 since the window is from content process. return mService->StartSession(aRequest.url(), aRequest.sessionId(), aRequest.origin(), aRequest.deviceId(), 0, this); }
nsresult PresentationRequestParent::DoRequest(const StartSessionRequest& aRequest) { MOZ_ASSERT(mService); mNeedRegisterBuilder = true; mSessionId = aRequest.sessionId(); return mService->StartSession(aRequest.url(), aRequest.sessionId(), aRequest.origin(), aRequest.deviceId(), aRequest.windowId(), this); }