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

Side by Side Diff: webkit/browser/chromeos/fileapi/async_file_stream.h

Issue 16010006: Move webkit/chromeos into webkit/browser/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_ 5 #ifndef WEBKIT_BROWSER_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_ 6 #define WEBKIT_BROWSER_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 10
11 namespace fileapi { 11 namespace fileapi {
12 12
13 using base::PlatformFileError; 13 using base::PlatformFileError;
14 14
15 // This class is used for implementing Open() in FileUtilAsync. This class 15 // This class is used for implementing Open() in FileUtilAsync. This class
16 // is similar to net::FileStream, but supporting only the asynchronous 16 // is similar to net::FileStream, but supporting only the asynchronous
(...skipping 29 matching lines...) Expand all
46 const ReadWriteCallback& callback) = 0; 46 const ReadWriteCallback& callback) = 0;
47 47
48 // Moves the stream position. On success, PLATFORM_FILE_OK is passed to 48 // Moves the stream position. On success, PLATFORM_FILE_OK is passed to
49 // |callback|. On error, an error code is passed instead. 49 // |callback|. On error, an error code is passed instead.
50 virtual void Seek(int64 offset, 50 virtual void Seek(int64 offset,
51 const SeekCallback& callback) = 0; 51 const SeekCallback& callback) = 0;
52 }; 52 };
53 53
54 } // namespace fileapi 54 } // namespace fileapi
55 55
56 #endif // WEBKIT_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_ 56 #endif // WEBKIT_BROWSER_CHROMEOS_FILEAPI_ASYNC_FILE_STREAM_H_
OLDNEW
« no previous file with comments | « webkit/browser/chromeos/OWNERS ('k') | webkit/browser/chromeos/fileapi/cros_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698