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

Unified Diff: webkit/fileapi/quota_file_util.h

Issue 7470037: [Refactor] to rename and re-layer the file_util stack layers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed for ChromeOS again. Created 9 years, 4 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: webkit/fileapi/quota_file_util.h
diff --git a/webkit/fileapi/quota_file_util.h b/webkit/fileapi/quota_file_util.h
index efad64f1556e26a633bccce07e4d402d6931e789..93b9201727505500a8a7b22c2fb8209184a77fd8 100644
--- a/webkit/fileapi/quota_file_util.h
+++ b/webkit/fileapi/quota_file_util.h
@@ -6,27 +6,26 @@
#define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
#include "base/memory/scoped_ptr.h"
-#include "webkit/fileapi/file_system_file_util.h"
#include "webkit/fileapi/file_system_operation_context.h"
+#include "webkit/fileapi/fileapi_file_util.h"
#pragma once
namespace fileapi {
-class QuotaFileUtil : public FileSystemFileUtil {
+class QuotaFileUtil : public FileApiFileUtil {
public:
static const int64 kNoLimit;
// |underlying_file_util| is owned by the instance. It will be deleted by
// the owner instance. For example, it can be instanciated as follows:
- // FileSystemFileUtil* file_util = new QuotaFileUtil(new SomeFileUtil());
+ // FileApiFileUtil* file_util = new QuotaFileUtil(new SomeFileUtil());
//
- // To instanciate an object whose underlying file_util is FileSystemFileUtil,
+ // To instanciate an object whose underlying file_util is FileApiFileUtil,
// QuotaFileUtil::CreateDefault() can be used.
- explicit QuotaFileUtil(FileSystemFileUtil* underlying_file_util);
+ explicit QuotaFileUtil(FileApiFileUtil* underlying_file_util);
virtual ~QuotaFileUtil();
- // Creates a QuotaFileUtil instance with an underlying FileSystemFileUtil
- // instance.
+ // Creates a QuotaFileUtil instance with an underlying FileUtil instance.
static QuotaFileUtil* CreateDefault();
// TODO(dmikurube): Make this function variable by the constructor.
@@ -68,8 +67,6 @@ class QuotaFileUtil : public FileSystemFileUtil {
int64 length) OVERRIDE;
private:
- scoped_ptr<FileSystemFileUtil> underlying_file_util_;
-
// TODO(dmikurube): Make these constants variable by the constructor.
//
// These values are based on Obfuscation DB. See crbug.com/86114 for the

Powered by Google App Engine
This is Rietveld 408576698