Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Side by Side Diff: chrome/browser/ui/webui/options/extension_settings_handler.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc ('k') | chrome/browser/visitedlink/visitedlink_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698