Chromium Code Reviews| Index: chrome/browser/extensions/api/developer_private/developer_private_api.cc |
| =================================================================== |
| --- chrome/browser/extensions/api/developer_private/developer_private_api.cc (revision 191609) |
| +++ chrome/browser/extensions/api/developer_private/developer_private_api.cc (working copy) |
| @@ -228,9 +228,9 @@ |
| content::RenderViewHost* host = *iter; |
| content::WebContents* web_contents = |
| content::WebContents::FromRenderViewHost(host); |
| - chrome::ViewType host_type = chrome::GetViewType(web_contents); |
| - if (chrome::VIEW_TYPE_EXTENSION_POPUP == host_type || |
| - chrome::VIEW_TYPE_EXTENSION_DIALOG == host_type) |
| + extensions::ViewType host_type = chrome::GetViewType(web_contents); |
|
Yoyo Zhou
2013/04/01 17:36:51
ditto
|
| + if (extensions::VIEW_TYPE_EXTENSION_POPUP == host_type || |
| + extensions::VIEW_TYPE_EXTENSION_DIALOG == host_type) |
| continue; |
| content::RenderProcessHost* process = host->GetProcess(); |