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

Unified Diff: chrome/browser/extensions/extension_tab_util.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/browser/extensions/extension_tab_util.h
===================================================================
--- chrome/browser/extensions/extension_tab_util.h (revision 246091)
+++ chrome/browser/extensions/extension_tab_util.h (working copy)
@@ -70,6 +70,10 @@
TabStripModel* tab_strip,
int tab_index);
+ // Creates a Tab object with only the tab id for platform apps.
not at google - send to devlin 2014/01/23 16:41:59 If you did the filtering on the renderer would you
Lei Zhang 2014/01/23 20:53:12 If I did the filtering on the renderer side, then
+ static base::DictionaryValue* CreateTabValueForPlatformApp(
+ const content::WebContents* web_contents);
+
// Removes any privacy-sensitive fields from a Tab object if appropriate,
// given the permissions of the extension and the tab in question. The
// tab_info object is modified in place.

Powered by Google App Engine
This is Rietveld 408576698