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

Unified Diff: chrome/browser/chromeos/drive/file_system/open_file_operation.h

Issue 23816002: drive: Stop using resource ID to access local metadata in OpenFileOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system/open_file_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system/open_file_operation.h
diff --git a/chrome/browser/chromeos/drive/file_system/open_file_operation.h b/chrome/browser/chromeos/drive/file_system/open_file_operation.h
index 771df3c00c6d007a57e6607d44d7bd79c9f8b689..4c86e6d661319548db925ff769ded261f0e6e4c3 100644
--- a/chrome/browser/chromeos/drive/file_system/open_file_operation.h
+++ b/chrome/browser/chromeos/drive/file_system/open_file_operation.h
@@ -72,12 +72,12 @@ class OpenFileOperation {
// Part of OpenFile(). Called after marking the cache file dirty.
void OpenFileAfterMarkDirty(const base::FilePath& local_file_path,
- const std::string& resource_id,
+ const std::string& local_id,
const OpenFileCallback& callback,
FileError error);
- // Closes the file with |resource_id|.
- void CloseFile(const std::string& resource_id);
+ // Closes the file with |local_id|.
+ void CloseFile(const std::string& local_id);
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
OperationObserver* observer_;
@@ -86,7 +86,7 @@ class OpenFileOperation {
scoped_ptr<CreateFileOperation> create_file_operation_;
scoped_ptr<DownloadOperation> download_operation_;
- // The map from resource id for an opened file to the number how many times
+ // The map from local id for an opened file to the number how many times
// the file is opened.
std::map<std::string, int> open_files_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system/open_file_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698