OLD | NEW |
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/service_manager/public/cpp/service_context.h" | 5 #include "services/service_manager/public/cpp/service_context.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // ServiceContext, private: | 97 // ServiceContext, private: |
98 | 98 |
99 void ServiceContext::OnConnectionError() { | 99 void ServiceContext::OnConnectionError() { |
100 if (service_->OnServiceManagerConnectionLost()) { | 100 if (service_->OnServiceManagerConnectionLost()) { |
101 // CAUTION: May delete |this|. | 101 // CAUTION: May delete |this|. |
102 QuitNow(); | 102 QuitNow(); |
103 } | 103 } |
104 } | 104 } |
105 | 105 |
106 } // namespace service_manager | 106 } // namespace service_manager |
OLD | NEW |