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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 bool lazy); | 132 bool lazy); |
133 void OnExtensionCloseChannel(int port_id, bool connection_error); | 133 void OnExtensionCloseChannel(int port_id, bool connection_error); |
134 void OnExtensionRequestForIOThread( | 134 void OnExtensionRequestForIOThread( |
135 int routing_id, | 135 int routing_id, |
136 const ExtensionHostMsg_Request_Params& params); | 136 const ExtensionHostMsg_Request_Params& params); |
137 void OnExtensionShouldUnloadAck(const std::string& extension_id, | 137 void OnExtensionShouldUnloadAck(const std::string& extension_id, |
138 int sequence_id); | 138 int sequence_id); |
139 void OnExtensionUnloadAck(const std::string& extension_id); | 139 void OnExtensionUnloadAck(const std::string& extension_id); |
140 void OnExtensionGenerateUniqueID(int* unique_id); | 140 void OnExtensionGenerateUniqueID(int* unique_id); |
141 void OnExtensionResumeRequests(int route_id); | 141 void OnExtensionResumeRequests(int route_id); |
142 #if defined(USE_TCMALLOC) | |
143 void OnRendererTcmalloc(const std::string& output); | |
144 void OnWriteTcmallocHeapProfile(const FilePath::StringType& filename, | |
145 const std::string& output); | |
146 #endif | |
147 void OnAllowDatabase(int render_view_id, | 142 void OnAllowDatabase(int render_view_id, |
148 const GURL& origin_url, | 143 const GURL& origin_url, |
149 const GURL& top_origin_url, | 144 const GURL& top_origin_url, |
150 const string16& name, | 145 const string16& name, |
151 const string16& display_name, | 146 const string16& display_name, |
152 bool* allowed); | 147 bool* allowed); |
153 void OnAllowDOMStorage(int render_view_id, | 148 void OnAllowDOMStorage(int render_view_id, |
154 const GURL& origin_url, | 149 const GURL& origin_url, |
155 const GURL& top_origin_url, | 150 const GURL& top_origin_url, |
156 bool local, | 151 bool local, |
(...skipping 28 matching lines...) Expand all Loading... |
185 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 180 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
186 // Used to look up permissions at database creation time. | 181 // Used to look up permissions at database creation time. |
187 scoped_refptr<CookieSettings> cookie_settings_; | 182 scoped_refptr<CookieSettings> cookie_settings_; |
188 | 183 |
189 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; | 184 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; |
190 | 185 |
191 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); | 186 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); |
192 }; | 187 }; |
193 | 188 |
194 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ | 189 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |