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

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

Issue 2622993002: [Presentation API] Move presentation.mojom to content/common/presentation (Closed)
Patch Set: Fix presentation_service_delegate. DEPS failure 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
« no previous file with comments | « content/browser/presentation/presentation_type_converters.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/presentation/presentation_type_converters_unittest.cc
diff --git a/content/browser/presentation/presentation_type_converters_unittest.cc b/content/browser/presentation/presentation_type_converters_unittest.cc
index e3f462363f94ed7bf3bd944943bf6209d6fed8cd..6a4951351d3a646ba5f09ae743c7f14bcb464f35 100644
--- a/content/browser/presentation/presentation_type_converters_unittest.cc
+++ b/content/browser/presentation/presentation_type_converters_unittest.cc
@@ -13,8 +13,8 @@ TEST(PresentationTypeConvertersTest, PresentationSessionInfo) {
GURL presentation_url("http://www.example.com/");
std::string presentation_id("presentationId");
PresentationSessionInfo session(presentation_url, presentation_id);
- blink::mojom::PresentationSessionInfoPtr session_mojo(
- blink::mojom::PresentationSessionInfo::From(session));
+ content::mojom::PresentationSessionInfoPtr session_mojo(
+ content::mojom::PresentationSessionInfo::From(session));
EXPECT_FALSE(session_mojo.is_null());
EXPECT_EQ(presentation_url, session_mojo->url);
EXPECT_EQ(presentation_id, session_mojo->id);
@@ -23,10 +23,10 @@ TEST(PresentationTypeConvertersTest, PresentationSessionInfo) {
TEST(PresentationTypeConvertersTest, PresentationError) {
std::string message("Error message");
PresentationError error(PRESENTATION_ERROR_NO_AVAILABLE_SCREENS, message);
- blink::mojom::PresentationErrorPtr error_mojo(
- blink::mojom::PresentationError::From(error));
+ content::mojom::PresentationErrorPtr error_mojo(
+ content::mojom::PresentationError::From(error));
EXPECT_FALSE(error_mojo.is_null());
- EXPECT_EQ(blink::mojom::PresentationErrorType::NO_AVAILABLE_SCREENS,
+ EXPECT_EQ(content::mojom::PresentationErrorType::NO_AVAILABLE_SCREENS,
error_mojo->error_type);
EXPECT_EQ(message, error_mojo->message);
}
« no previous file with comments | « content/browser/presentation/presentation_type_converters.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698