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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_util.h

Issue 22165002: Change the meaning of SelectFileDialog.support_drive: it means Drive-aware callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 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 fileBrowserPrivate API. 5 // This file provides utility functions for fileBrowserPrivate API.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // The callback type is used for GetSelectedFileInfo(). 55 // The callback type is used for GetSelectedFileInfo().
56 typedef base::Callback<void(const std::vector<ui::SelectedFileInfo>&)> 56 typedef base::Callback<void(const std::vector<ui::SelectedFileInfo>&)>
57 GetSelectedFileInfoCallback; 57 GetSelectedFileInfoCallback;
58 58
59 // Gets the information for |file_urls|. 59 // Gets the information for |file_urls|.
60 void GetSelectedFileInfo(content::RenderViewHost* render_view_host, 60 void GetSelectedFileInfo(content::RenderViewHost* render_view_host,
61 Profile* profile, 61 Profile* profile,
62 const std::vector<GURL>& file_urls, 62 const std::vector<GURL>& file_urls,
63 bool for_opening, 63 bool for_opening,
64 bool need_local_path,
satorux1 2013/08/06 02:07:17 Maybe use a bitmask? Then, the callers would be cl
kinaba 2013/08/06 06:20:56 Done. I changed to a simple enum rather than a bit
64 GetSelectedFileInfoCallback callback); 65 GetSelectedFileInfoCallback callback);
65 66
66 } // namespace util 67 } // namespace util
67 } // namespace file_manager 68 } // namespace file_manager
68 69
69 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_ 70 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698