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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc

Issue 101323002: Stop setting invalid value to the |tab_id| field of fileBrowserHandler API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
index cecd07fb55f196f732b46e8fb3c10ace6a1c09b0..fa4573077533334e181a5089ab5ee919691517d8 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_tasks.cc
@@ -89,12 +89,10 @@ bool FileBrowserPrivateExecuteTaskFunction::RunImpl() {
file_urls.push_back(url);
}
- const int32 tab_id = file_manager::util::GetTabId(dispatcher());
return file_manager::file_tasks::ExecuteFileTask(
GetProfile(),
source_url(),
extension_->id(),
- tab_id,
task,
file_urls,
base::Bind(&FileBrowserPrivateExecuteTaskFunction::OnTaskExecuted, this));
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698