| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/webui/options/extension_settings_handler.h" | 5 #include "chrome/browser/ui/webui/options/extension_settings_handler.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/base64.h" | 8 #include "base/base64.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 for (std::set<RenderViewHost*>::const_iterator iter = views.begin(); | 770 for (std::set<RenderViewHost*>::const_iterator iter = views.begin(); |
| 771 iter != views.end(); ++iter) { | 771 iter != views.end(); ++iter) { |
| 772 RenderViewHost* host = *iter; | 772 RenderViewHost* host = *iter; |
| 773 int host_type = host->delegate()->GetRenderViewType(); | 773 int host_type = host->delegate()->GetRenderViewType(); |
| 774 if (host == deleting_rvh_ || | 774 if (host == deleting_rvh_ || |
| 775 chrome::VIEW_TYPE_EXTENSION_POPUP == host_type || | 775 chrome::VIEW_TYPE_EXTENSION_POPUP == host_type || |
| 776 chrome::VIEW_TYPE_EXTENSION_DIALOG == host_type) | 776 chrome::VIEW_TYPE_EXTENSION_DIALOG == host_type) |
| 777 continue; | 777 continue; |
| 778 | 778 |
| 779 GURL url = host->delegate()->GetURL(); | 779 GURL url = host->delegate()->GetURL(); |
| 780 RenderProcessHost* process = host->process(); | 780 content::RenderProcessHost* process = host->process(); |
| 781 result->push_back( | 781 result->push_back( |
| 782 ExtensionPage(url, process->id(), host->routing_id(), | 782 ExtensionPage(url, process->GetID(), host->routing_id(), |
| 783 process->browser_context()->IsOffTheRecord())); | 783 process->GetBrowserContext()->IsOffTheRecord())); |
| 784 } | 784 } |
| 785 } | 785 } |
| OLD | NEW |