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

Unified Diff: content/browser/renderer_host/render_process_host.h

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 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: content/browser/renderer_host/render_process_host.h
diff --git a/content/browser/renderer_host/render_process_host.h b/content/browser/renderer_host/render_process_host.h
index 8dcefdf23b0e53eadd8403179589df882f2d9c9e..5881bca722f12d7025198be31d4be7769b679f03 100644
--- a/content/browser/renderer_host/render_process_host.h
+++ b/content/browser/renderer_host/render_process_host.h
@@ -50,14 +50,14 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Channel::Sender,
struct RendererClosedDetails {
RendererClosedDetails(base::TerminationStatus status,
int exit_code,
- bool was_extension_renderer) {
+ bool was_alive) {
this->status = status;
this->exit_code = exit_code;
- this->was_extension_renderer = was_extension_renderer;
+ this->was_alive = was_alive;
}
base::TerminationStatus status;
int exit_code;
- bool was_extension_renderer;
+ bool was_alive;
};
explicit RenderProcessHost(content::BrowserContext* browser_context);
@@ -85,9 +85,6 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Channel::Sender,
sudden_termination_allowed_ = enabled;
}
- bool is_extension_process() const { return is_extension_process_; }
- void mark_is_extension_process() { is_extension_process_ = true; }
-
// Used for refcounting, each holder of this object must Attach and Release
// just like it would for a COM object. This object should be allocated on
// the heap; when no listeners own it any more, it will delete itself.
@@ -296,10 +293,6 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Channel::Sender,
// True if we've posted a DeleteTask and will be deleted soon.
bool deleting_soon_;
- // True iff this process is being used as an extension process. Not valid
- // when running in single-process mode.
- bool is_extension_process_;
-
// The count of currently swapped out but pending RenderViews. We have
// started to swap these in, so the renderer process should not exit if
// this count is non-zero.
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.cc ('k') | content/browser/renderer_host/render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698