| 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 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void OnExtensionRemoveLazyListener(const std::string& extension_id, | 118 void OnExtensionRemoveLazyListener(const std::string& extension_id, |
| 119 const std::string& event_name); | 119 const std::string& event_name); |
| 120 void OnExtensionCloseChannel(int port_id, bool connection_error); | 120 void OnExtensionCloseChannel(int port_id, bool connection_error); |
| 121 void OnExtensionRequestForIOThread( | 121 void OnExtensionRequestForIOThread( |
| 122 int routing_id, | 122 int routing_id, |
| 123 const ExtensionHostMsg_Request_Params& params); | 123 const ExtensionHostMsg_Request_Params& params); |
| 124 void OnExtensionShouldUnloadAck(const std::string& extension_id, | 124 void OnExtensionShouldUnloadAck(const std::string& extension_id, |
| 125 int sequence_id); | 125 int sequence_id); |
| 126 void OnExtensionUnloadAck(const std::string& extension_id); | 126 void OnExtensionUnloadAck(const std::string& extension_id); |
| 127 void OnExtensionGenerateUniqueID(int* unique_id); | 127 void OnExtensionGenerateUniqueID(int* unique_id); |
| 128 #if defined(USE_TCMALLOC) | |
| 129 void OnRendererTcmalloc(const std::string& output); | |
| 130 void OnWriteTcmallocHeapProfile(const FilePath::StringType& filename, | |
| 131 const std::string& output); | |
| 132 #endif | |
| 133 void OnAllowDatabase(int render_view_id, | 128 void OnAllowDatabase(int render_view_id, |
| 134 const GURL& origin_url, | 129 const GURL& origin_url, |
| 135 const GURL& top_origin_url, | 130 const GURL& top_origin_url, |
| 136 const string16& name, | 131 const string16& name, |
| 137 const string16& display_name, | 132 const string16& display_name, |
| 138 bool* allowed); | 133 bool* allowed); |
| 139 void OnAllowDOMStorage(int render_view_id, | 134 void OnAllowDOMStorage(int render_view_id, |
| 140 const GURL& origin_url, | 135 const GURL& origin_url, |
| 141 const GURL& top_origin_url, | 136 const GURL& top_origin_url, |
| 142 bool local, | 137 bool local, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 171 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 166 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 172 // Used to look up permissions at database creation time. | 167 // Used to look up permissions at database creation time. |
| 173 scoped_refptr<CookieSettings> cookie_settings_; | 168 scoped_refptr<CookieSettings> cookie_settings_; |
| 174 | 169 |
| 175 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; | 170 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; |
| 176 | 171 |
| 177 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 172 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
| 178 }; | 173 }; |
| 179 | 174 |
| 180 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 175 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |