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

Unified Diff: ppapi/shared_impl/file_growth.h

Issue 130053003: [Pepper] Wire up append mode writing support of FileIO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/max_written_offsets/file_sizes/g Created 6 years, 11 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: ppapi/shared_impl/file_growth.h
diff --git a/ppapi/shared_impl/file_growth.h b/ppapi/shared_impl/file_growth.h
index b9e83ec3b1de9b65c74b4b3100ea3522ee029dba..6c1932c023e79c48e169f7e579e0aee723a5b844 100644
--- a/ppapi/shared_impl/file_growth.h
+++ b/ppapi/shared_impl/file_growth.h
@@ -23,6 +23,11 @@ struct PPAPI_SHARED_EXPORT FileGrowth {
typedef std::map<int32_t, FileGrowth> FileGrowthMap;
typedef std::map<int32_t, int64_t> FileSizeMap;
+PPAPI_SHARED_EXPORT FileGrowthMap FileSizeMapToFileGrowthMap(
bbudge 2014/01/27 21:53:37 It might be a good idea to make it clear these are
tzik 2014/01/28 06:12:49 Sounds nice. Done.
+ const FileSizeMap& file_sizes);
+PPAPI_SHARED_EXPORT FileSizeMap FileGrowthMapToFileSizeMap(
+ const FileGrowthMap& file_growths);
+
} // namespace ppapi
#endif // PPAPI_SHARED_IMPL_FILE_GROWTH_H_

Powered by Google App Engine
This is Rietveld 408576698