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

Unified Diff: chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc

Issue 278113002: Remove PlatformFile from fileapi::AsyncFileUtil (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc
diff --git a/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc b/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc
index 0223e08cb997761f45c446f7d1750c83165ed851..41838a60df47882e6e7ab78f33af437a7c1230d6 100644
--- a/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc
+++ b/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/local_discovery/storage/privet_filesystem_async_util.h"
-#include "base/platform_file.h"
#include "chrome/browser/local_discovery/storage/path_util.h"
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/common/blob/shareable_file_reference.h"
@@ -29,8 +28,7 @@ void PrivetFileSystemAsyncUtil::CreateOrOpen(
int file_flags,
const CreateOrOpenCallback& callback) {
NOTIMPLEMENTED();
- callback.Run(base::File::FILE_ERROR_INVALID_OPERATION,
- base::PassPlatformFile(NULL),
+ callback.Run(base::File(base::File::FILE_ERROR_INVALID_OPERATION),
base::Closure());
}

Powered by Google App Engine
This is Rietveld 408576698