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

Unified Diff: content/public/test/test_service.h

Issue 2871523002: Use OnceCallback on Mojo interfaces in //content (Closed)
Patch Set: . Created 3 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/webui/web_ui_mojo_browsertest.cc ('k') | content/public/test/test_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_service.h
diff --git a/content/public/test/test_service.h b/content/public/test/test_service.h
index fbd3cbfa611f9db4d26218be7b361eb7682ec9e6..f3df76511ee4387c9d009cbbcc48fe7caa670001 100644
--- a/content/public/test/test_service.h
+++ b/content/public/test/test_service.h
@@ -34,12 +34,12 @@ class TestService : public service_manager::Service, public mojom::TestService {
mojom::TestServiceRequest request);
// TestService:
- void DoSomething(const DoSomethingCallback& callback) override;
- void DoTerminateProcess(const DoTerminateProcessCallback& callback) override;
- void CreateFolder(const CreateFolderCallback& callback) override;
- void GetRequestorName(const GetRequestorNameCallback& callback) override;
+ void DoSomething(DoSomethingCallback callback) override;
+ void DoTerminateProcess(DoTerminateProcessCallback callback) override;
+ void CreateFolder(CreateFolderCallback callback) override;
+ void GetRequestorName(GetRequestorNameCallback callback) override;
void CreateSharedBuffer(const std::string& message,
- const CreateSharedBufferCallback& callback) override;
+ CreateSharedBufferCallback callback) override;
service_manager::BinderRegistry registry_;
mojo::Binding<mojom::TestService> service_binding_;
« no previous file with comments | « content/browser/webui/web_ui_mojo_browsertest.cc ('k') | content/public/test/test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698