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

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 145463002: Extensions: Send the tab id to platform apps. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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: chrome/renderer/extensions/dispatcher.h
===================================================================
--- chrome/renderer/extensions/dispatcher.h (revision 246091)
+++ chrome/renderer/extensions/dispatcher.h (working copy)
@@ -309,6 +309,9 @@
std::string system_font_family_;
std::string system_font_size_;
+ // Mapping of port IDs to tabs. If there is no tab, the value would be -1.
+ std::map<int, int> port_to_tab_id_map_;
+
DISALLOW_COPY_AND_ASSIGN(Dispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698