| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/extensions/api/messaging/extension_message_port.h" | 5 #include "chrome/browser/extensions/api/messaging/extension_message_port.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_host.h" | 7 #include "chrome/browser/extensions/extension_host.h" |
| 8 #include "chrome/browser/extensions/extension_process_manager.h" | 8 #include "chrome/browser/extensions/extension_process_manager.h" |
| 9 #include "chrome/browser/extensions/extension_system.h" | 9 #include "chrome/browser/extensions/extension_system.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 ExtensionHost* host = pm->GetBackgroundHostForExtension(extension_id_); | 67 ExtensionHost* host = pm->GetBackgroundHostForExtension(extension_id_); |
| 68 if (host && host == background_host_ptr_) | 68 if (host && host == background_host_ptr_) |
| 69 pm->DecrementLazyKeepaliveCount(host->extension()); | 69 pm->DecrementLazyKeepaliveCount(host->extension()); |
| 70 } | 70 } |
| 71 | 71 |
| 72 content::RenderProcessHost* ExtensionMessagePort::GetRenderProcessHost() { | 72 content::RenderProcessHost* ExtensionMessagePort::GetRenderProcessHost() { |
| 73 return process_; | 73 return process_; |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace extensions | 76 } // namespace extensions |
| OLD | NEW |