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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 2517393002: [Extensions] Remove RequestSender::ScopedTabID (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | extensions/renderer/request_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index b837a247874f89a0c2da2b98fdcf6a806b77b101..06a960df6b8eb4e4077af024f9bf4a65bfe6ca25 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -984,12 +984,6 @@ void Dispatcher::OnCancelSuspend(const std::string& extension_id) {
void Dispatcher::OnDeliverMessage(int target_port_id,
int source_tab_id,
const Message& message) {
- std::unique_ptr<RequestSender::ScopedTabID> scoped_tab_id;
- if (source_tab_id != -1) {
- scoped_tab_id.reset(new RequestSender::ScopedTabID(
- bindings_system_->GetRequestSender(), source_tab_id));
- }
-
MessagingBindings::DeliverMessage(*script_context_set_, target_port_id,
message,
NULL); // All render frames.
« no previous file with comments | « no previous file | extensions/renderer/request_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698