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

Side by Side Diff: storage/browser/fileapi/file_stream_writer.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "webkit/browser/storage_browser_export.h" 10 #include "storage/browser/storage_browser_export.h"
11 11
12 namespace base { 12 namespace base {
13 class FilePath; 13 class FilePath;
14 class TaskRunner; 14 class TaskRunner;
15 } 15 }
16 16
17 namespace net { 17 namespace net {
18 class IOBuffer; 18 class IOBuffer;
19 } 19 }
20 20
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // not be performed, it returns an error code. Otherwise, net::ERR_IO_PENDING 77 // not be performed, it returns an error code. Otherwise, net::ERR_IO_PENDING
78 // is returned, and the callback will be run on the thread where Flush() was 78 // is returned, and the callback will be run on the thread where Flush() was
79 // called when the flush has completed. 79 // called when the flush has completed.
80 // 80 //
81 // It is invalid to call Flush while there is an in-flight async operation. 81 // It is invalid to call Flush while there is an in-flight async operation.
82 virtual int Flush(const net::CompletionCallback& callback) = 0; 82 virtual int Flush(const net::CompletionCallback& callback) = 0;
83 }; 83 };
84 84
85 } // namespace storage 85 } // namespace storage
86 86
87 #endif // WEBKIT_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_ 87 #endif // STORAGE_BROWSER_FILEAPI_FILE_STREAM_WRITER_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_permission_policy.h ('k') | storage/browser/fileapi/file_system_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698