| 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 "extensions/browser/event_router.h" | 5 #include "extensions/browser/event_router.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "chrome/browser/chrome_notification_types.h" | 14 #include "chrome/browser/chrome_notification_types.h" |
| 15 #include "chrome/browser/extensions/extension_host.h" | 15 #include "chrome/browser/extensions/extension_host.h" |
| 16 #include "chrome/common/extensions/extension_messages.h" | |
| 17 #include "content/public/browser/notification_service.h" | 16 #include "content/public/browser/notification_service.h" |
| 18 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
| 19 #include "extensions/browser/api_activity_monitor.h" | 18 #include "extensions/browser/api_activity_monitor.h" |
| 20 #include "extensions/browser/extension_prefs.h" | 19 #include "extensions/browser/extension_prefs.h" |
| 21 #include "extensions/browser/extension_registry.h" | 20 #include "extensions/browser/extension_registry.h" |
| 22 #include "extensions/browser/extension_system.h" | 21 #include "extensions/browser/extension_system.h" |
| 23 #include "extensions/browser/extensions_browser_client.h" | 22 #include "extensions/browser/extensions_browser_client.h" |
| 24 #include "extensions/browser/lazy_background_task_queue.h" | 23 #include "extensions/browser/lazy_background_task_queue.h" |
| 25 #include "extensions/browser/process_manager.h" | 24 #include "extensions/browser/process_manager.h" |
| 26 #include "extensions/browser/process_map.h" | 25 #include "extensions/browser/process_map.h" |
| 27 #include "extensions/common/extension.h" | 26 #include "extensions/common/extension.h" |
| 28 #include "extensions/common/extension_api.h" | 27 #include "extensions/common/extension_api.h" |
| 28 #include "extensions/common/extension_messages.h" |
| 29 #include "extensions/common/extension_urls.h" | 29 #include "extensions/common/extension_urls.h" |
| 30 #include "extensions/common/manifest_handlers/background_info.h" | 30 #include "extensions/common/manifest_handlers/background_info.h" |
| 31 #include "extensions/common/manifest_handlers/incognito_info.h" | 31 #include "extensions/common/manifest_handlers/incognito_info.h" |
| 32 | 32 |
| 33 using base::DictionaryValue; | 33 using base::DictionaryValue; |
| 34 using base::ListValue; | 34 using base::ListValue; |
| 35 using content::BrowserContext; | 35 using content::BrowserContext; |
| 36 using content::BrowserThread; | 36 using content::BrowserThread; |
| 37 | 37 |
| 38 namespace extensions { | 38 namespace extensions { |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 } | 763 } |
| 764 | 764 |
| 765 EventListenerInfo::EventListenerInfo(const std::string& event_name, | 765 EventListenerInfo::EventListenerInfo(const std::string& event_name, |
| 766 const std::string& extension_id, | 766 const std::string& extension_id, |
| 767 content::BrowserContext* browser_context) | 767 content::BrowserContext* browser_context) |
| 768 : event_name(event_name), | 768 : event_name(event_name), |
| 769 extension_id(extension_id), | 769 extension_id(extension_id), |
| 770 browser_context(browser_context) {} | 770 browser_context(browser_context) {} |
| 771 | 771 |
| 772 } // namespace extensions | 772 } // namespace extensions |
| OLD | NEW |