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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/web_page_view.cc ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_file_browser_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 118952)
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
@@ -34,9 +34,9 @@
#include "chrome/common/pref_names.h"
#include "content/browser/child_process_security_policy.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/browser/site_instance.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
+#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
@@ -50,6 +50,7 @@
#include "webkit/fileapi/file_system_util.h"
using content::BrowserThread;
+using content::SiteInstance;
using content::WebContents;
namespace {
@@ -729,7 +730,8 @@
Extension::GetBaseURLFromExtensionId(target_extension_id_);
ExtensionProcessManager* manager = profile_->GetExtensionProcessManager();
- SiteInstance* site_instance = manager->GetSiteInstanceForURL(extension_url);
+ SiteInstance* site_instance = manager->GetSiteInstanceForURL(
+ extension_url);
if (!site_instance || !site_instance->HasProcess())
return;
content::RenderProcessHost* process = site_instance->GetProcess();
« no previous file with comments | « chrome/browser/chromeos/login/web_page_view.cc ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698