summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/file_system/file_system_api.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 21:16:48 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 21:16:48 +0000
commitac401f06cb07185c56f0ccaff9c59efc7caf31c5 (patch)
treef5db23ec7787a08c427da92863c2aebc633aa3e4 /chrome/browser/extensions/api/file_system/file_system_api.h
parenta04b64ee7f3b2229cfb7482022e08bf5125fee30 (diff)
downloadchromium_src-ac401f06cb07185c56f0ccaff9c59efc7caf31c5.zip
chromium_src-ac401f06cb07185c56f0ccaff9c59efc7caf31c5.tar.gz
chromium_src-ac401f06cb07185c56f0ccaff9c59efc7caf31c5.tar.bz2
Simplify file_system_api::GetLastChooseEntryDirectory().
Review URL: https://codereview.chromium.org/57193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/file_system/file_system_api.h')
-rw-r--r--chrome/browser/extensions/api/file_system/file_system_api.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.h b/chrome/browser/extensions/api/file_system/file_system_api.h
index 52f516f..492bebb 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -22,10 +22,9 @@ namespace file_system_api {
// chosen by the user in response to a chrome.fileSystem.chooseEntry() call for
// the given extension.
-// Returns true and populates result on success; false on failure.
-bool GetLastChooseEntryDirectory(const ExtensionPrefs* prefs,
- const std::string& extension_id,
- base::FilePath* path);
+// Returns an empty path on failure.
+base::FilePath GetLastChooseEntryDirectory(const ExtensionPrefs* prefs,
+ const std::string& extension_id);
void SetLastChooseEntryDirectory(ExtensionPrefs* prefs,
const std::string& extension_id,