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

Unified Diff: chrome/renderer/mock_render_thread.h

Issue 6765011: Move the dispatching of extension messages out of RenderThread. This also moves a bunch of exten... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/mock_render_thread.h
===================================================================
--- chrome/renderer/mock_render_thread.h (revision 79565)
+++ chrome/renderer/mock_render_thread.h (working copy)
@@ -31,8 +31,6 @@
MockRenderThread();
virtual ~MockRenderThread();
- virtual const ExtensionSet* GetExtensions() const;
-
// Provides access to the messages that have been received by this thread.
IPC::TestSink& sink() { return sink_; }
@@ -56,9 +54,7 @@
virtual void WidgetHidden() { }
virtual void WidgetRestored() { }
- virtual bool IsExtensionProcess() const;
virtual bool IsIncognitoProcess() const;
- void SetExtensionProcess(bool value) { is_extension_process_ = value; }
//////////////////////////////////////////////////////////////////////////
// The following functions are called by the test itself.
@@ -144,12 +140,6 @@
// A mock printer device used for printing tests.
scoped_ptr<MockPrinter> printer_;
- // Contains extensions currently loaded by browser. This is usually empty
- // for MockRenderThread.
- ExtensionSet extensions_;
-
- bool is_extension_process_;
-
// True to simulate user clicking print. False to cancel.
bool print_dialog_user_response_;
};
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698