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

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: Fixed interactive_ui_tests build 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
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..03ba551cd14e1f72d621a732523bf5f000a8d09f 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 set_is_isolated_guest(bool is_isolated_guest) {
+ is_isolated_guest_ = is_isolated_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);
};
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698