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

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

Issue 1957143002: [OnionSoup] Move persentation_service.mojom from //content to //third_party/WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 f62c320eb19966639d499ba9c8193507fe1aceba..3ed4c9864685c9d3327dd87a20b6db6abcbdfe12 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) {
std::string presentation_url("http://fooUrl");
std::string presentation_id("presentationId");
PresentationSessionInfo session(presentation_url, presentation_id);
- mojom::PresentationSessionInfoPtr session_mojo(
- mojom::PresentationSessionInfo::From(session));
+ blink::mojom::PresentationSessionInfoPtr session_mojo(
+ blink::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,9 +23,10 @@ TEST(PresentationTypeConvertersTest, PresentationSessionInfo) {
TEST(PresentationTypeConvertersTest, PresentationError) {
std::string message("Error message");
PresentationError error(PRESENTATION_ERROR_NO_AVAILABLE_SCREENS, message);
- mojom::PresentationErrorPtr error_mojo(mojom::PresentationError::From(error));
+ blink::mojom::PresentationErrorPtr error_mojo(
+ blink::mojom::PresentationError::From(error));
EXPECT_FALSE(error_mojo.is_null());
- EXPECT_EQ(mojom::PresentationErrorType::NO_AVAILABLE_SCREENS,
+ EXPECT_EQ(blink::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