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

Side by Side Diff: chrome/browser/chromeos/drive/fileapi/async_file_util.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
10 #include "storage/browser/fileapi/async_file_util.h" 12 #include "storage/browser/fileapi/async_file_util.h"
11 13
12 namespace drive { 14 namespace drive {
13 15
14 class FileSystemInterface; 16 class FileSystemInterface;
15 17
16 namespace internal { 18 namespace internal {
17 19
18 // The implementation of storage::AsyncFileUtil for Drive File System. 20 // The implementation of storage::AsyncFileUtil for Drive File System.
19 class AsyncFileUtil : public storage::AsyncFileUtil { 21 class AsyncFileUtil : public storage::AsyncFileUtil {
(...skipping 21 matching lines...) Expand all
41 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, 43 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
42 const storage::FileSystemURL& url, 44 const storage::FileSystemURL& url,
43 const ReadDirectoryCallback& callback) override; 45 const ReadDirectoryCallback& callback) override;
44 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, 46 void Touch(scoped_ptr<storage::FileSystemOperationContext> context,
45 const storage::FileSystemURL& url, 47 const storage::FileSystemURL& url,
46 const base::Time& last_access_time, 48 const base::Time& last_access_time,
47 const base::Time& last_modified_time, 49 const base::Time& last_modified_time,
48 const StatusCallback& callback) override; 50 const StatusCallback& callback) override;
49 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, 51 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context,
50 const storage::FileSystemURL& url, 52 const storage::FileSystemURL& url,
51 int64 length, 53 int64_t length,
52 const StatusCallback& callback) override; 54 const StatusCallback& callback) override;
53 void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, 55 void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context,
54 const storage::FileSystemURL& src_url, 56 const storage::FileSystemURL& src_url,
55 const storage::FileSystemURL& dest_url, 57 const storage::FileSystemURL& dest_url,
56 CopyOrMoveOption option, 58 CopyOrMoveOption option,
57 const CopyFileProgressCallback& progress_callback, 59 const CopyFileProgressCallback& progress_callback,
58 const StatusCallback& callback) override; 60 const StatusCallback& callback) override;
59 void MoveFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, 61 void MoveFileLocal(scoped_ptr<storage::FileSystemOperationContext> context,
60 const storage::FileSystemURL& src_url, 62 const storage::FileSystemURL& src_url,
61 const storage::FileSystemURL& dest_url, 63 const storage::FileSystemURL& dest_url,
(...skipping 20 matching lines...) Expand all
82 const CreateSnapshotFileCallback& callback) override; 84 const CreateSnapshotFileCallback& callback) override;
83 85
84 private: 86 private:
85 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); 87 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil);
86 }; 88 };
87 89
88 } // namespace internal 90 } // namespace internal
89 } // namespace drive 91 } // namespace drive
90 92
91 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 93 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_task_executor.cc ('k') | chrome/browser/chromeos/drive/fileapi/async_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698