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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/open_file.cc

Issue 379743003: [fsp] Remove the create flag from the file opening operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/chromeos/file_system_provider/operations/open_file.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/open_file.cc b/chrome/browser/chromeos/file_system_provider/operations/open_file.cc
index 01040897bbe0138862055271ae48ec29001932fa..8a1a3617f8e4d4d721a4899ed9ee88085cfccc13 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/open_file.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/open_file.cc
@@ -18,12 +18,10 @@ OpenFile::OpenFile(
const ProvidedFileSystemInfo& file_system_info,
const base::FilePath& file_path,
ProvidedFileSystemInterface::OpenFileMode mode,
- bool create,
const ProvidedFileSystemInterface::OpenFileCallback& callback)
: Operation(event_router, file_system_info),
file_path_(file_path),
mode_(mode),
- create_(create),
callback_(callback) {
}
@@ -49,8 +47,6 @@ bool OpenFile::Execute(int request_id) {
break;
}
- values->SetBoolean("create", create_);
-
return SendEvent(
request_id,
extensions::api::file_system_provider::OnOpenFileRequested::kEventName,

Powered by Google App Engine
This is Rietveld 408576698