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

Side by Side Diff: chrome/browser/chromeos/file_manager/file_browser_handlers.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file provides utility functions for file browser handlers. 5 // This file provides utility functions for file browser handlers.
6 // https://developer.chrome.com/extensions/fileBrowserHandler.html 6 // https://developer.chrome.com/extensions/fileBrowserHandler.html
7 7
8 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_ 8 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_
9 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_ 9 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 Profile* profile, 49 Profile* profile,
50 const std::vector<GURL>& file_list); 50 const std::vector<GURL>& file_list);
51 51
52 // Executes a file browser handler specified by |extension| of the given 52 // Executes a file browser handler specified by |extension| of the given
53 // action ID for |file_urls|. Returns false if undeclared handlers are 53 // action ID for |file_urls|. Returns false if undeclared handlers are
54 // found. |done| is on completion. See also the comment at ExecuteFileTask() 54 // found. |done| is on completion. See also the comment at ExecuteFileTask()
55 // for other parameters. 55 // for other parameters.
56 bool ExecuteFileBrowserHandler( 56 bool ExecuteFileBrowserHandler(
57 Profile* profile, 57 Profile* profile,
58 const extensions::Extension* extension, 58 const extensions::Extension* extension,
59 int32 tab_id,
60 const std::string& action_id, 59 const std::string& action_id,
61 const std::vector<fileapi::FileSystemURL>& file_urls, 60 const std::vector<fileapi::FileSystemURL>& file_urls,
62 const file_tasks::FileTaskFinishedCallback& done); 61 const file_tasks::FileTaskFinishedCallback& done);
63 62
64 } // namespace file_browser_handlers 63 } // namespace file_browser_handlers
65 } // namespace file_manager 64 } // namespace file_manager
66 65
67 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_ 66 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_BROWSER_HANDLERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698