| 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 "content/browser/manifest/manifest_manager_host.h" | 5 #include "content/browser/manifest/manifest_manager_host.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 8 #include "content/common/manifest_manager_messages.h" | 10 #include "content/common/manifest_manager_messages.h" |
| 9 #include "content/public/browser/render_frame_host.h" | 11 #include "content/public/browser/render_frame_host.h" |
| 10 #include "content/public/browser/render_process_host.h" | 12 #include "content/public/browser/render_process_host.h" |
| 11 #include "content/public/common/manifest.h" | 13 #include "content/public/common/manifest.h" |
| 12 #include "content/public/common/result_codes.h" | 14 #include "content/public/common/result_codes.h" |
| 13 | 15 |
| 14 namespace content { | 16 namespace content { |
| 15 | 17 |
| 16 namespace { | 18 namespace { |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 224 |
| 223 callback->Run(has_manifest); | 225 callback->Run(has_manifest); |
| 224 callbacks->Remove(request_id); | 226 callbacks->Remove(request_id); |
| 225 if (callbacks->IsEmpty()) { | 227 if (callbacks->IsEmpty()) { |
| 226 delete callbacks; | 228 delete callbacks; |
| 227 pending_has_callbacks_.erase(render_frame_host); | 229 pending_has_callbacks_.erase(render_frame_host); |
| 228 } | 230 } |
| 229 } | 231 } |
| 230 | 232 |
| 231 } // namespace content | 233 } // namespace content |
| OLD | NEW |