commit | eb7ef5f39f4041a06a2eef6e2916b0ab3039238f | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Feb 06 09:59:19 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Feb 06 09:59:19 2014 |
tree | af8e0a815e03c80be555e38a2fd1315cc16eab59 | |
parent | ae415588b46037ef8fc0ce0a52a1aa86e7762d4c [diff] [blame] |
Extensions: Send the tab id to platform apps. This lets mediaGalleries.addUserSelectedFolder() figure out the tab that triggered the API, so it can display the select dialog in the tab when the platform app has no open windows. BUG=333899 Review URL: https://codereview.chromium.org/145463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249322 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc index 6ac7e78..1de6920 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.cc +++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -509,6 +509,7 @@ function->set_extension(extension); function->set_profile_id(profile); function->set_response_callback(callback); + function->set_source_tab_id(params.source_tab_id); return function; }