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

Unified Diff: services/shell/tests/connect/connect_test_app.cc

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « services/shell/shell.cc ('k') | services/shell/tests/connect/connect_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/connect/connect_test_app.cc
diff --git a/services/shell/tests/connect/connect_test_app.cc b/services/shell/tests/connect/connect_test_app.cc
index 66e9f3a1080eef5b75fc8e677d3d99e0edfa0c27..48fb53ada454fbcd3b4f1807c86ae57bf85e9099 100644
--- a/services/shell/tests/connect/connect_test_app.cc
+++ b/services/shell/tests/connect/connect_test_app.cc
@@ -26,8 +26,9 @@ void QuitLoop(base::RunLoop* loop) {
loop->Quit();
}
-void ReceiveString(std::string* string, base::RunLoop* loop,
- const std::string& response) {
+void ReceiveString(std::string* string,
+ base::RunLoop* loop,
+ mojo::String response) {
*string = response;
loop->Quit();
}
@@ -197,7 +198,7 @@ class ConnectTestApp : public ShellClient,
void OnGotTitle(
const ConnectToAllowedAppInBlockedPackageCallback& callback,
base::RunLoop* run_loop,
- const mojo::String& title) {
+ mojo::String title) {
callback.Run(title);
run_loop->Quit();
}
« no previous file with comments | « services/shell/shell.cc ('k') | services/shell/tests/connect/connect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698