diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 19:44:33 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 19:44:33 +0000 |
commit | d109fcb493242dafe93f302b60d5cb901ac23cf9 (patch) | |
tree | 3e12bffda08c553d00bd76618be0ac79305f5f18 /webkit/fileapi/file_system_file_util.h | |
parent | f36fb17cc320e8714e27931f96d22274f35d0607 (diff) | |
download | chromium_src-d109fcb493242dafe93f302b60d5cb901ac23cf9.zip chromium_src-d109fcb493242dafe93f302b60d5cb901ac23cf9.tar.gz chromium_src-d109fcb493242dafe93f302b60d5cb901ac23cf9.tar.bz2 |
Clean up: Modified FileSystemFileUtil::CreateFileEnumerator function signature to return a scoped_ptr.
Return a scoped_ptr to indicate that CreateFileEnumerator is passing the ownership of a heap-allocated object to the caller.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11293096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_file_util.h')
-rw-r--r-- | webkit/fileapi/file_system_file_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h index 344cb82..bab0881 100644 --- a/webkit/fileapi/file_system_file_util.h +++ b/webkit/fileapi/file_system_file_util.h @@ -8,6 +8,7 @@ #include "base/file_path.h" #include "base/file_util_proxy.h" #include "base/memory/ref_counted.h" +#include "base/memory/scoped_ptr.h" #include "base/platform_file.h" #include "webkit/fileapi/file_system_url.h" #include "webkit/storage/webkit_storage_export.h" @@ -120,7 +121,7 @@ class WEBKIT_STORAGE_EXPORT FileSystemFileUtil { // // The supplied context must remain valid at least lifetime of the enumerator // instance. - virtual AbstractFileEnumerator* CreateFileEnumerator( + virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( FileSystemOperationContext* context, const FileSystemURL& root_url, bool recursive) = 0; |