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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 293093010: Rename RenderProcessHost::IsGuest to RenderProcessHost::IsIsolatedGuest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_isguest_chrome_callsites
Patch Set: Created 6 years, 7 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/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 50c19ee849d81fe6876e80482f353b4ed4ce8328..39eae8224e6e2bf5880b4b13e24db005a0e6d185 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -26,7 +26,7 @@ MockRenderProcessHost::MockRenderProcessHost(BrowserContext* browser_context)
prev_routing_id_(0),
fast_shutdown_started_(false),
deletion_callback_called_(false),
- is_guest_(false) {
+ is_isolated_guest_(false) {
// Child process security operations can't be unit tested unless we add
// ourselves as an existing child process.
ChildProcessSecurityPolicyImpl::GetInstance()->Add(GetID());
@@ -101,8 +101,8 @@ int MockRenderProcessHost::VisibleWidgetCount() const {
return 1;
}
-bool MockRenderProcessHost::IsGuest() const {
- return is_guest_;
+bool MockRenderProcessHost::IsIsolatedGuest() const {
+ return is_isolated_guest_;
}
StoragePartition* MockRenderProcessHost::GetStoragePartition() const {

Powered by Google App Engine
This is Rietveld 408576698