diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-17 12:24:41 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-17 12:24:41 +0000 |
commit | d748fce1bde33c270b2c6f563d56ba54f5361aaf (patch) | |
tree | 5d2d7bbc6e598cd50ab31ae1fbaad0fcf668ec18 /chrome/browser/chromeos/drive/file_system_util.h | |
parent | 8d68f288ad832d91bad4caf4de6ca78ffe6dd06a (diff) | |
download | chromium_src-d748fce1bde33c270b2c6f563d56ba54f5361aaf.zip chromium_src-d748fce1bde33c270b2c6f563d56ba54f5361aaf.tar.gz chromium_src-d748fce1bde33c270b2c6f563d56ba54f5361aaf.tar.bz2 |
Some clean up in drive::file_system.
- Consolidate the naming and the argument order of each Operation's constructor.
See DriveOperations::Init. I chose the order:
(observer,scheduler,metadata,cache,file_system,task_runner).
- Remove comments mentioning to running thread. Now our code base
is clean enough about thread safety, even without comments.
- Remove "callback must not be null" from private method comments.
- Fix incorrect #include and forward declarations.
- (Piggyback: One tiny irrelevant comment fix in file_system_util.h)
BUG=none
Review URL: https://chromiumcodereview.appspot.com/15047015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/file_system_util.h')
-rw-r--r-- | chrome/browser/chromeos/drive/file_system_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/drive/file_system_util.h b/chrome/browser/chromeos/drive/file_system_util.h index b45820b..9dc727e 100644 --- a/chrome/browser/chromeos/drive/file_system_util.h +++ b/chrome/browser/chromeos/drive/file_system_util.h @@ -167,7 +167,7 @@ void ParseCacheFilePath(const base::FilePath& path, std::string* md5, std::string* extra_extension); -// Callback type for PrepareWritablebase::FilePathAndRun. +// Callback type for PrepareWritableFileAndRun. typedef base::Callback<void (FileError, const base::FilePath& path)> OpenFileCallback; |