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

Unified Diff: mash/webtest/webtest.cc

Issue 2493693003: Mojo C++ bindings: switch services/navigation mojom target to use STL types. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/webtest/webtest.cc
diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc
index ecf223282dd94ed644f1ef049165581623507cf6..83958647191bf31189b73901c212e6e794643e81 100644
--- a/mash/webtest/webtest.cc
+++ b/mash/webtest/webtest.cc
@@ -103,10 +103,10 @@ class UI : public views::WidgetDelegateView,
void OpenURL(navigation::mojom::OpenURLParamsPtr params) override {}
void LoadingStateChanged(bool is_loading) override {}
void NavigationStateChanged(const GURL& url,
- const mojo::String& title,
+ const std::string& title,
bool can_go_back,
bool can_go_forward) override {
- current_title_ = base::UTF8ToUTF16(title.get());
+ current_title_ = base::UTF8ToUTF16(title);
GetWidget()->UpdateWindowTitle();
}
void LoadProgressChanged(double progress) override {}
« no previous file with comments | « no previous file | services/navigation/navigation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698