RESOLVED FIXED 45798
Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
https://bugs.webkit.org/show_bug.cgi?id=45798
Summary Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
Eric U.
Reported 2010-09-14 18:11:50 PDT
It doesn't make sense to enable FILE_SYSTEM without FILE_WRITER, and our in-progress implementation of FileWriter doesn't do anything without FileSystem. So to simplify code and build files, we should just use the FILE_SYSTEM guard for now.
Attachments
Patch (38.70 KB, patch)
2010-09-15 10:21 PDT, Eric U.
no flags
Patch (43.43 KB, patch)
2010-09-15 11:37 PDT, Eric U.
no flags
Patch (43.57 KB, patch)
2010-09-15 12:38 PDT, Eric U.
no flags
Eric U.
Comment 1 2010-09-15 10:21:27 PDT
Jian Li
Comment 2 2010-09-15 10:41:26 PDT
Comment on attachment 67687 [details] Patch Do you also need to change WebKit/chromium/AsyncFileWriterChromium.*? I also notice that ENABLE_FILE_SYSTEM is not defined in WebKit/chromium/features.gypi. View in context: https://bugs.webkit.org/attachment.cgi?id=67687&action=prettypatch > configure.ac:-913 > -AM_CONDITIONAL([ENABLE_FILE_WRITER],[test "$enable_file_writer" = "yes"]) I think you also need to remove another occurrence of file_writer usage in this file. > WebCore/ChangeLog:5 > + Unify FILE_SYSTEM and FILE_WRITER enables Please mention that you're moving towards FILE_SYSTEM guard. > WebCore/ChangeLog:8 > + No new tests. This line can be removed. No need to mention it if we do not have specific thing to say here.
Eric U.
Comment 3 2010-09-15 11:00:35 PDT
Comment on attachment 67687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67687&action=prettypatch Re: AsyncFileWriterChromium.*: Yes, my client was out of sync. I'm merging out and will repost shortly. Thanks for the super-speedy review! > configure.ac:-913 > -AM_CONDITIONAL([ENABLE_FILE_WRITER],[test "$enable_file_writer" = "yes"]) Fixed. > WebCore/ChangeLog:5 > + Unify FILE_SYSTEM and FILE_WRITER enables Fixed. > WebCore/ChangeLog:8 > + No new tests. Done.
Eric U.
Comment 4 2010-09-15 11:33:30 PDT
> I also notice that ENABLE_FILE_SYSTEM is not defined in WebKit/chromium/features.gypi. I expect Kinuko will decide to turn that on quite soon; I don't want to do it without her advice.
Eric U.
Comment 5 2010-09-15 11:37:07 PDT
Jian Li
Comment 6 2010-09-15 11:58:24 PDT
Comment on attachment 67693 [details] Patch One last thing. View in context: https://bugs.webkit.org/attachment.cgi?id=67693&action=prettypatch > WebCore/ChangeLog:5 > + Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM. Please also update the bug title and all other ChangeLog to use the same description for consistency.
Eric U.
Comment 7 2010-09-15 12:38:48 PDT
Eric U.
Comment 8 2010-09-15 12:39:30 PDT
(In reply to comment #6) > (From update of attachment 67693 [details]) > One last thing. > > View in context: https://bugs.webkit.org/attachment.cgi?id=67693&action=prettypatch > > > WebCore/ChangeLog:5 > > + Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM. > Please also update the bug title and all other ChangeLog to use the same description for consistency. Sorry about that--I got half of them, but should have checked more carefully. All fixed.
Kinuko Yasuda
Comment 9 2010-09-15 12:50:18 PDT
(In reply to comment #4) > > I also notice that ENABLE_FILE_SYSTEM is not defined in WebKit/chromium/features.gypi. > > I expect Kinuko will decide to turn that on quite soon; I don't want to do it without her advice. It's turned on in chromium side (build/features_override.gypi) mainly because the last big change was in chromium. If you're going to update the patch one more time (not likely?) please feel free to add it. Otherwise I'll add the flag in my next patch so no need to worry... Thanks, (Btw I think we can remove the FILE_READER in WebKit/chromium/features.gypi now.)
WebKit Commit Bot
Comment 10 2010-09-16 06:45:12 PDT
Comment on attachment 67700 [details] Patch Clearing flags on attachment: 67700 Committed r67614: <http://trac.webkit.org/changeset/67614>
WebKit Commit Bot
Comment 11 2010-09-16 06:45:18 PDT
All reviewed patches have been landed. Closing bug.
Chris Guillory
Comment 12 2010-09-17 10:27:32 PDT
My chromium debug build was complaining that AsyncFileWriterChromium::~AsyncFileWriterChromium has no implementation. Also I believe the destructor should be virtual.
Eric U.
Comment 13 2010-09-17 11:34:23 PDT
(In reply to comment #12) > My chromium debug build was complaining that AsyncFileWriterChromium::~AsyncFileWriterChromium has no implementation. Also I believe the destructor should be virtual. Chris, you're quite right--there's a bug there. As a workaround, just delete the declaration of the destructor in AsyncFileWriterChromium; it's already there [virtually] from its parent interface. I'll put a fix up shortly--sorry about the inconvenience.
Note You need to log in before you can comment on or make changes to this bug.