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

Side by Side Diff: third_party/WebKit/public/platform/WebFileWriterClient.h

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: nit Created 4 years, 2 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 38
39 class WebFileWriterClient { 39 class WebFileWriterClient {
40 public: 40 public:
41 // Called for each chunk of a write, to indicate progress. 41 // Called for each chunk of a write, to indicate progress.
42 // On the final chunk, when the write is finished, complete will be true. 42 // On the final chunk, when the write is finished, complete will be true.
43 virtual void didWrite(long long bytes, bool complete) = 0; 43 virtual void didWrite(long long bytes, bool complete) = 0;
44 44
45 // Called once when the truncate completes successfully. 45 // Called once when the truncate completes successfully.
46 virtual void didTruncate() = 0; 46 virtual void didTruncate() = 0;
47 47
48 // Called if the write or truncate fails, or if it is cancelled before the wri te or truncate completes. Completion of an operation will be signalled exactly o nce, either by didFail, didTruncate, or didWrite(..., true). 48 // Called if the write or truncate fails, or if it is cancelled before the
49 // write or truncate completes. Completion of an operation will be signalled
50 // exactly once, either by didFail, didTruncate, or didWrite(..., true).
49 virtual void didFail(WebFileError) = 0; 51 virtual void didFail(WebFileError) = 0;
50 52
51 protected: 53 protected:
52 virtual ~WebFileWriterClient() {} 54 virtual ~WebFileWriterClient() {}
53 }; 55 };
54 56
55 } // namespace blink 57 } // namespace blink
56 58
57 #endif 59 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebFileWriter.h ('k') | third_party/WebKit/public/platform/WebFrameScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698