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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.cc

Issue 2264543003: Adds sync brokering to Windows EDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/renderer/shell_content_renderer_client.h" 5 #include "content/shell/renderer/shell_content_renderer_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 void CreateFolder(const CreateFolderCallback& callback) override { 66 void CreateFolder(const CreateFolderCallback& callback) override {
67 NOTREACHED(); 67 NOTREACHED();
68 } 68 }
69 69
70 void GetRequestorName(const GetRequestorNameCallback& callback) override { 70 void GetRequestorName(const GetRequestorNameCallback& callback) override {
71 callback.Run("Not implemented."); 71 callback.Run("Not implemented.");
72 } 72 }
73 73
74 void CreateSharedBuffer(const std::string& message,
75 const CreateSharedBufferCallback& callback) override {
76 NOTREACHED();
77 }
78
74 mojo::Binding<mojom::TestMojoService> binding_; 79 mojo::Binding<mojom::TestMojoService> binding_;
75 80
76 DISALLOW_COPY_AND_ASSIGN(TestMojoServiceImpl); 81 DISALLOW_COPY_AND_ASSIGN(TestMojoServiceImpl);
77 }; 82 };
78 83
79 void CreateTestMojoService(mojom::TestMojoServiceRequest request) { 84 void CreateTestMojoService(mojom::TestMojoServiceRequest request) {
80 // Owns itself. 85 // Owns itself.
81 new TestMojoServiceImpl(std::move(request)); 86 new TestMojoServiceImpl(std::move(request));
82 } 87 }
83 88
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 128 }
124 } 129 }
125 130
126 void ShellContentRendererClient::ExposeInterfacesToBrowser( 131 void ShellContentRendererClient::ExposeInterfacesToBrowser(
127 shell::InterfaceRegistry* interface_registry) { 132 shell::InterfaceRegistry* interface_registry) {
128 interface_registry->AddInterface<mojom::TestMojoService>( 133 interface_registry->AddInterface<mojom::TestMojoService>(
129 base::Bind(&CreateTestMojoService)); 134 base::Bind(&CreateTestMojoService));
130 } 135 }
131 136
132 } // namespace content 137 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/test_mojo_service.mojom ('k') | content/shell/utility/shell_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698