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

Unified Diff: device/serial/serial_service_impl.cc

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix network_service_loader Created 6 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 | « device/serial/serial_service_impl.h ('k') | mojo/cc/context_provider_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_service_impl.cc
diff --git a/device/serial/serial_service_impl.cc b/device/serial/serial_service_impl.cc
index 14a8033f4ed48e06e22c4e1f03abb6341ac9990c..093096d4c2cac15269f7a1262f332d41874e05c8 100644
--- a/device/serial/serial_service_impl.cc
+++ b/device/serial/serial_service_impl.cc
@@ -62,10 +62,6 @@ void SerialServiceImpl::Connect(
path, options.Pass(), connection_request.Pass());
}
-void SerialServiceImpl::OnConnectionError() {
- delete this;
-}
-
SerialDeviceEnumerator* SerialServiceImpl::GetDeviceEnumerator() {
if (!device_enumerator_)
device_enumerator_ = SerialDeviceEnumerator::Create();
« no previous file with comments | « device/serial/serial_service_impl.h ('k') | mojo/cc/context_provider_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698