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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 years, 10 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
Index: chrome/browser/extensions/extension_file_browser_private_api.cc
diff --git a/chrome/browser/extensions/extension_file_browser_private_api.cc b/chrome/browser/extensions/extension_file_browser_private_api.cc
index e962491ea6f5213f98b1bd58ec15722f1f4a73d7..45ac9e37808a271c6287299a9c745956a116fcf6 100644
--- a/chrome/browser/extensions/extension_file_browser_private_api.cc
+++ b/chrome/browser/extensions/extension_file_browser_private_api.cc
@@ -507,7 +507,7 @@ void RequestLocalFileSystemFunction::RequestOnFileThread(
}
bool RequestLocalFileSystemFunction::RunImpl() {
- if (!dispatcher() || !render_view_host() || !render_view_host()->process())
+ if (!dispatcher() || !render_view_host() || !render_view_host()->GetProcess())
return false;
BrowserThread::PostTask(
@@ -516,7 +516,7 @@ bool RequestLocalFileSystemFunction::RunImpl() {
&RequestLocalFileSystemFunction::RequestOnFileThread,
this,
source_url_,
- render_view_host()->process()->GetID()));
+ render_view_host()->GetProcess()->GetID()));
// Will finish asynchronously.
return true;
}
@@ -569,7 +569,7 @@ void FileWatchBrowserFunctionBase::RespondOnUIThread(bool success) {
}
bool FileWatchBrowserFunctionBase::RunImpl() {
- if (!render_view_host() || !render_view_host()->process())
+ if (!render_view_host() || !render_view_host()->GetProcess())
return false;
// First param is url of a file to watch.

Powered by Google App Engine
This is Rietveld 408576698