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

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

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.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index 4b99782bd5d5bc4ec3f101b00f2b269afe9b76a1..4beac44da95b40f5808bb512650c111f079cd3b5 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -47,7 +47,7 @@ class MockRenderProcessHost : public RenderProcessHost {
virtual void WidgetRestored() OVERRIDE;
virtual void WidgetHidden() OVERRIDE;
virtual int VisibleWidgetCount() const OVERRIDE;
- virtual bool IsGuest() const OVERRIDE;
+ virtual bool IsIsolatedGuest() const OVERRIDE;
virtual StoragePartition* GetStoragePartition() const OVERRIDE;
virtual void AddWord(const base::string16& word);
virtual bool FastShutdownIfPossible() OVERRIDE;
@@ -97,8 +97,8 @@ class MockRenderProcessHost : public RenderProcessHost {
int GetActiveViewCount();
- void SetIsGuest(bool is_guest) {
- is_guest_ = is_guest;
+ void SetIsIsolatedGuest(bool is_guest) {
lazyboy 2014/05/27 19:22:22 Since this is direct setter, should be set_is_isol
Fady Samuel 2014/05/27 21:56:34 It looks like this isn't even used. I've removed i
+ is_isolated_guest_ = is_guest;
}
private:
@@ -115,7 +115,7 @@ class MockRenderProcessHost : public RenderProcessHost {
IDMap<IPC::Listener> listeners_;
bool fast_shutdown_started_;
bool deletion_callback_called_;
- bool is_guest_;
+ bool is_isolated_guest_;
DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698