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

Side by Side Diff: webkit/fileapi/quota_file_util.h

Issue 7087028: roll clang 131935:132017 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
7 7
8 #include "webkit/fileapi/file_system_file_util.h" 8 #include "webkit/fileapi/file_system_file_util.h"
9 #include "webkit/fileapi/file_system_operation_context.h" 9 #include "webkit/fileapi/file_system_operation_context.h"
10 #pragma once 10 #pragma once
11 11
12 namespace fileapi { 12 namespace fileapi {
13 13
14 class QuotaFileUtil : public FileSystemFileUtil { 14 class QuotaFileUtil : public FileSystemFileUtil {
15 public: 15 public:
16 static QuotaFileUtil* GetInstance(); 16 static QuotaFileUtil* GetInstance();
17 ~QuotaFileUtil() {} 17 virtual ~QuotaFileUtil() {}
18 18
19 static const int64 kNoLimit; 19 static const int64 kNoLimit;
20 20
21 virtual base::PlatformFileError CopyOrMoveFile( 21 virtual base::PlatformFileError CopyOrMoveFile(
22 FileSystemOperationContext* fs_context, 22 FileSystemOperationContext* fs_context,
23 const FilePath& src_file_path, 23 const FilePath& src_file_path,
24 const FilePath& dest_file_path, 24 const FilePath& dest_file_path,
25 bool copy); 25 bool copy);
26 26
27 virtual base::PlatformFileError DeleteFile( 27 virtual base::PlatformFileError DeleteFile(
(...skipping 10 matching lines...) Expand all
38 friend struct DefaultSingletonTraits<QuotaFileUtil>; 38 friend struct DefaultSingletonTraits<QuotaFileUtil>;
39 DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil); 39 DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);
40 40
41 protected: 41 protected:
42 QuotaFileUtil() {} 42 QuotaFileUtil() {}
43 }; 43 };
44 44
45 } // namespace fileapi 45 } // namespace fileapi
46 46
47 #endif // WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_ 47 #endif // WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698