Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Unified Diff: content/browser/presentation/presentation_type_converters.cc

Issue 2647723002: [Presentation API] reject request.start() with OperationError instead of UnknownError if previous s… (Closed)
Patch Set: add layout test for PREVIOUS_START_IN_PROGRESS error Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/presentation/presentation_type_converters.cc
diff --git a/content/browser/presentation/presentation_type_converters.cc b/content/browser/presentation/presentation_type_converters.cc
index 827897cbeae85d1db838ad13c6c7ce526b0747cc..086ec7c31d54e3b70b39d019e1b2f87634d2d63b 100644
--- a/content/browser/presentation/presentation_type_converters.cc
+++ b/content/browser/presentation/presentation_type_converters.cc
@@ -17,6 +17,8 @@ blink::mojom::PresentationErrorType PresentationErrorTypeToMojo(
return blink::mojom::PresentationErrorType::SESSION_REQUEST_CANCELLED;
case content::PRESENTATION_ERROR_NO_PRESENTATION_FOUND:
return blink::mojom::PresentationErrorType::NO_PRESENTATION_FOUND;
+ case content::PRESENTATION_ERROR_PREVIOUS_START_IN_PROGRESS:
+ return blink::mojom::PresentationErrorType::PREVIOUS_START_IN_PROGRESS;
case content::PRESENTATION_ERROR_UNKNOWN:
return blink::mojom::PresentationErrorType::UNKNOWN;
}
« no previous file with comments | « content/browser/presentation/presentation_service_impl.cc ('k') | content/public/common/presentation_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698