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 "extensions/browser/extension_message_filter.h" | 5 #include "extensions/browser/extension_message_filter.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
8 #include "components/crx_file/id_util.h" | 9 #include "components/crx_file/id_util.h" |
9 #include "components/keyed_service/content/browser_context_keyed_service_shutdow
n_notifier_factory.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_shutdow
n_notifier_factory.h" |
10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
11 #include "content/public/browser/render_process_host.h" | 12 #include "content/public/browser/render_process_host.h" |
12 #include "extensions/browser/blob_holder.h" | 13 #include "extensions/browser/blob_holder.h" |
13 #include "extensions/browser/event_router.h" | 14 #include "extensions/browser/event_router.h" |
14 #include "extensions/browser/event_router_factory.h" | 15 #include "extensions/browser/event_router_factory.h" |
15 #include "extensions/browser/extension_registry.h" | 16 #include "extensions/browser/extension_registry.h" |
16 #include "extensions/browser/process_manager.h" | 17 #include "extensions/browser/process_manager.h" |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 // The extension has no background page, so there is nothing to wake. | 312 // The extension has no background page, so there is nothing to wake. |
312 SendWakeEventPageResponse(request_id, false); | 313 SendWakeEventPageResponse(request_id, false); |
313 } | 314 } |
314 | 315 |
315 void ExtensionMessageFilter::SendWakeEventPageResponse(int request_id, | 316 void ExtensionMessageFilter::SendWakeEventPageResponse(int request_id, |
316 bool success) { | 317 bool success) { |
317 Send(new ExtensionMsg_WakeEventPageResponse(request_id, success)); | 318 Send(new ExtensionMsg_WakeEventPageResponse(request_id, success)); |
318 } | 319 } |
319 | 320 |
320 } // namespace extensions | 321 } // namespace extensions |
OLD | NEW |