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

Unified Diff: chrome/renderer/chrome_mock_render_thread.h

Issue 2547753002: [Extensions] Extension Port Ids and Initialization 2.0 (Closed)
Patch Set: rkaplow Created 4 years 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: chrome/renderer/chrome_mock_render_thread.h
diff --git a/chrome/renderer/chrome_mock_render_thread.h b/chrome/renderer/chrome_mock_render_thread.h
index a7e01c24a9512acf4b5b8f005232627dec15e9e0..1c16b9ad8e44f1d6783add8e71fe2e0f1d8620fe 100644
--- a/chrome/renderer/chrome_mock_render_thread.h
+++ b/chrome/renderer/chrome_mock_render_thread.h
@@ -9,9 +9,6 @@
#include "base/macros.h"
#include "content/public/test/mock_render_thread.h"
-#include "extensions/features/features.h"
-
-struct ExtensionMsg_ExternalConnectionInfo;
// Extends content::MockRenderThread to know about extension messages.
class ChromeMockRenderThread : public content::MockRenderThread {
@@ -29,20 +26,6 @@ class ChromeMockRenderThread : public content::MockRenderThread {
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
protected:
- // Overrides base class implementation to add custom handling for
- // print and extensions.
- bool OnMessageReceived(const IPC::Message& msg) override;
-
- private:
-#if BUILDFLAG(ENABLE_EXTENSIONS)
- // The callee expects to be returned a valid channel_id.
- void OnOpenChannelToExtension(int routing_id,
- const ExtensionMsg_ExternalConnectionInfo& info,
- const std::string& channel_name,
- bool include_tls_channel_id,
- int request_id);
-#endif
-
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
DISALLOW_COPY_AND_ASSIGN(ChromeMockRenderThread);
« no previous file with comments | « chrome/browser/renderer_host/chrome_extension_message_filter.cc ('k') | chrome/renderer/chrome_mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698