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

Side by Side Diff: services/shell/public/cpp/lib/shell_client.cc

Issue 2090773003: Add ability to bind a different InterfaceRegistry/InterfaceProvider to an incoming Connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/shell/public/cpp/shell_client.h" 5 #include "services/shell/public/cpp/shell_client.h"
6 6
7 namespace shell { 7 namespace shell {
8 8
9 ShellClient::ShellClient() {} 9 ShellClient::ShellClient() {}
10 ShellClient::~ShellClient() {} 10 ShellClient::~ShellClient() {}
11 11
12 void ShellClient::Initialize(Connector* connector, const Identity& identity, 12 void ShellClient::Initialize(Connector* connector, const Identity& identity,
13 uint32_t id) { 13 uint32_t id) {
14 } 14 }
15 15
16 InterfaceProvider* ShellClient::GetInterfaceProviderForConnection() {
17 return nullptr;
18 }
19
20 InterfaceRegistry* ShellClient::GetInterfaceRegistryForConnection() {
21 return nullptr;
22 }
23
16 bool ShellClient::AcceptConnection(Connection* connection) { 24 bool ShellClient::AcceptConnection(Connection* connection) {
17 return false; 25 return false;
18 } 26 }
19 27
20 bool ShellClient::ShellConnectionLost() { return true; } 28 bool ShellClient::ShellConnectionLost() { return true; }
21 29
22 } // namespace shell 30 } // namespace shell
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/interface_provider.cc ('k') | services/shell/public/cpp/lib/shell_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698