| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/shell/package_manager/content_handler_connection.h" | 5 #include "mojo/shell/content_handler_connection.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "mojo/shell/application_manager.h" | 13 #include "mojo/shell/application_manager.h" |
| 14 #include "mojo/shell/connect_to_application_params.h" | 14 #include "mojo/shell/connect_to_application_params.h" |
| 15 #include "mojo/shell/identity.h" | 15 #include "mojo/shell/identity.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 DCHECK(connection_closed_); | 69 DCHECK(connection_closed_); |
| 70 } | 70 } |
| 71 | 71 |
| 72 void ContentHandlerConnection::ApplicationDestructed() { | 72 void ContentHandlerConnection::ApplicationDestructed() { |
| 73 if (!--ref_count_) | 73 if (!--ref_count_) |
| 74 CloseConnection(); | 74 CloseConnection(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace shell | 77 } // namespace shell |
| 78 } // namespace mojo | 78 } // namespace mojo |
| OLD | NEW |