| 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 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const GURL& listener_url, | 59 const GURL& listener_url, |
| 60 const std::string& event_name); | 60 const std::string& event_name); |
| 61 void OnExtensionAddLazyListener(const std::string& extension_id, | 61 void OnExtensionAddLazyListener(const std::string& extension_id, |
| 62 const std::string& event_name); | 62 const std::string& event_name); |
| 63 void OnExtensionAttachGuest(int routing_id, | 63 void OnExtensionAttachGuest(int routing_id, |
| 64 int element_instance_id, | 64 int element_instance_id, |
| 65 int guest_instance_id, | 65 int guest_instance_id, |
| 66 const base::DictionaryValue& attach_params); | 66 const base::DictionaryValue& attach_params); |
| 67 void OnExtensionCreateMimeHandlerViewGuest(int render_frame_id, | 67 void OnExtensionCreateMimeHandlerViewGuest(int render_frame_id, |
| 68 const std::string& url, | 68 const std::string& url, |
| 69 const std::string& content_url, |
| 69 const std::string& mime_type, | 70 const std::string& mime_type, |
| 70 int element_instance_id); | 71 int element_instance_id); |
| 71 void OnExtensionRemoveLazyListener(const std::string& extension_id, | 72 void OnExtensionRemoveLazyListener(const std::string& extension_id, |
| 72 const std::string& event_name); | 73 const std::string& event_name); |
| 73 void OnExtensionAddFilteredListener(const std::string& extension_id, | 74 void OnExtensionAddFilteredListener(const std::string& extension_id, |
| 74 const std::string& event_name, | 75 const std::string& event_name, |
| 75 const base::DictionaryValue& filter, | 76 const base::DictionaryValue& filter, |
| 76 bool lazy); | 77 bool lazy); |
| 77 void OnExtensionRemoveFilteredListener(const std::string& extension_id, | 78 void OnExtensionRemoveFilteredListener(const std::string& extension_id, |
| 78 const std::string& event_name, | 79 const std::string& event_name, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 106 | 107 |
| 107 // Weak pointers produced by this factory are bound to the IO thread. | 108 // Weak pointers produced by this factory are bound to the IO thread. |
| 108 base::WeakPtrFactory<ExtensionMessageFilter> weak_ptr_factory_; | 109 base::WeakPtrFactory<ExtensionMessageFilter> weak_ptr_factory_; |
| 109 | 110 |
| 110 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter); | 111 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter); |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace extensions | 114 } // namespace extensions |
| 114 | 115 |
| 115 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ | 116 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ |
| OLD | NEW |