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

Unified Diff: shell/test/pingable_app.cc

Issue 1074963002: Add some |using mojo::...;|s to //shell .cc files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « shell/shell_test_base_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/test/pingable_app.cc
diff --git a/shell/test/pingable_app.cc b/shell/test/pingable_app.cc
index a7083617a6df88f215d118fd9138d14266b79d35..fe49993a8ef6844b1e44a1424a2359a403e6a52c 100644
--- a/shell/test/pingable_app.cc
+++ b/shell/test/pingable_app.cc
@@ -12,6 +12,8 @@
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "shell/test/pingable.mojom.h"
+using mojo::String;
+
class PingableImpl : public Pingable {
public:
PingableImpl(mojo::InterfaceRequest<Pingable> request,
@@ -25,9 +27,8 @@ class PingableImpl : public Pingable {
private:
void Ping(
- const mojo::String& message,
- const mojo::Callback<void(mojo::String, mojo::String, mojo::String)>&
- callback) override {
+ const String& message,
+ const mojo::Callback<void(String, String, String)>& callback) override {
callback.Run(app_url_, connection_url_, message);
}
« no previous file with comments | « shell/shell_test_base_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698