| 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/event_router.h" | 5 #include "chrome/browser/extensions/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" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/extensions/process_map.h" | 26 #include "chrome/browser/extensions/process_map.h" |
| 27 #include "chrome/browser/profiles/profile.h" | 27 #include "chrome/browser/profiles/profile.h" |
| 28 #include "chrome/browser/profiles/profile_manager.h" | 28 #include "chrome/browser/profiles/profile_manager.h" |
| 29 #include "chrome/common/chrome_notification_types.h" | 29 #include "chrome/common/chrome_notification_types.h" |
| 30 #include "chrome/common/chrome_switches.h" | 30 #include "chrome/common/chrome_switches.h" |
| 31 #include "chrome/common/extensions/api/extension_api.h" | 31 #include "chrome/common/extensions/api/extension_api.h" |
| 32 #include "chrome/common/extensions/background_info.h" | 32 #include "chrome/common/extensions/background_info.h" |
| 33 #include "chrome/common/extensions/extension.h" | 33 #include "chrome/common/extensions/extension.h" |
| 34 #include "chrome/common/extensions/extension_messages.h" | 34 #include "chrome/common/extensions/extension_messages.h" |
| 35 #include "chrome/common/extensions/incognito_handler.h" | 35 #include "chrome/common/extensions/incognito_handler.h" |
| 36 #include "chrome/common/view_type.h" | |
| 37 #include "content/public/browser/notification_service.h" | 36 #include "content/public/browser/notification_service.h" |
| 38 #include "content/public/browser/render_process_host.h" | 37 #include "content/public/browser/render_process_host.h" |
| 39 | 38 |
| 40 using base::Value; | 39 using base::Value; |
| 41 using content::BrowserThread; | 40 using content::BrowserThread; |
| 42 | 41 |
| 43 namespace extensions { | 42 namespace extensions { |
| 44 | 43 |
| 45 namespace { | 44 namespace { |
| 46 | 45 |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 copy->will_dispatch_callback = will_dispatch_callback; | 716 copy->will_dispatch_callback = will_dispatch_callback; |
| 718 return copy; | 717 return copy; |
| 719 } | 718 } |
| 720 | 719 |
| 721 EventListenerInfo::EventListenerInfo(const std::string& event_name, | 720 EventListenerInfo::EventListenerInfo(const std::string& event_name, |
| 722 const std::string& extension_id) | 721 const std::string& extension_id) |
| 723 : event_name(event_name), | 722 : event_name(event_name), |
| 724 extension_id(extension_id) {} | 723 extension_id(extension_id) {} |
| 725 | 724 |
| 726 } // namespace extensions | 725 } // namespace extensions |
| OLD | NEW |