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

Unified Diff: services/shell/public/cpp/lib/service.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/public/cpp/lib/connector_impl.cc ('k') | services/shell/public/cpp/lib/shell_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/lib/service.cc
diff --git a/services/shell/public/cpp/lib/service.cc b/services/shell/public/cpp/lib/service.cc
new file mode 100644
index 0000000000000000000000000000000000000000..22a167f87fd5d9cac803783afe8c8b036b40aedb
--- /dev/null
+++ b/services/shell/public/cpp/lib/service.cc
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "services/shell/public/cpp/service.h"
+
+namespace shell {
+
+Service::Service() {}
+Service::~Service() {}
+
+void Service::OnStart(Connector* connector, const Identity& identity,
+ uint32_t id) {
+}
+
+bool Service::OnConnect(Connection* connection) {
+ return false;
+}
+
+bool Service::OnStop() { return true; }
+
+InterfaceProvider* Service::GetInterfaceProviderForConnection() {
+ return nullptr;
+}
+
+InterfaceRegistry* Service::GetInterfaceRegistryForConnection() {
+ return nullptr;
+}
+
+} // namespace shell
« no previous file with comments | « services/shell/public/cpp/lib/connector_impl.cc ('k') | services/shell/public/cpp/lib/shell_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698