summaryrefslogtreecommitdiffstats
path: root/content/common/file_system/file_system_dispatcher.cc
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 22:26:50 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 22:26:50 +0000
commitbacef3cbbc55efebb2573194d329eabac5f5c7e3 (patch)
treecaa96791f328bb36601bcb839e6544f3cfdf8290 /content/common/file_system/file_system_dispatcher.cc
parent748ce719f7594754695dfbd17b35618a58a5ffd1 (diff)
downloadchromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.zip
chromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.tar.gz
chromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.tar.bz2
Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a
separate parameter, and not clutter up a base type. BUG:none TEST:none Review URL: http://codereview.chromium.org/6731033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/file_system/file_system_dispatcher.cc')
-rw-r--r--content/common/file_system/file_system_dispatcher.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/common/file_system/file_system_dispatcher.cc b/content/common/file_system/file_system_dispatcher.cc
index c614300..d95a5b7 100644
--- a/content/common/file_system/file_system_dispatcher.cc
+++ b/content/common/file_system/file_system_dispatcher.cc
@@ -235,11 +235,12 @@ void FileSystemDispatcher::OnDidSucceed(int request_id) {
}
void FileSystemDispatcher::OnDidReadMetadata(
- int request_id, const base::PlatformFileInfo& file_info) {
+ int request_id, const base::PlatformFileInfo& file_info,
+ const FilePath& platform_path) {
fileapi::FileSystemCallbackDispatcher* dispatcher =
dispatchers_.Lookup(request_id);
DCHECK(dispatcher);
- dispatcher->DidReadMetadata(file_info);
+ dispatcher->DidReadMetadata(file_info, platform_path);
dispatchers_.Remove(request_id);
}