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

Side by Side Diff: Source/modules/filesystem/FileWriter.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo Created 7 years 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 /* 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 INIT = 0, 52 INIT = 0,
53 WRITING = 1, 53 WRITING = 1,
54 DONE = 2 54 DONE = 2
55 }; 55 };
56 56
57 virtual void trace(Visitor* visitor) OVERRIDE 57 virtual void trace(Visitor* visitor) OVERRIDE
58 { 58 {
59 FileWriterBase::trace(visitor); 59 FileWriterBase::trace(visitor);
60 } 60 }
61 61
62 virtual void visitWith(Visitor* visitor) const OVERRIDE 62 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
63 { 63 {
64 visitor->visit(this); 64 visitor->mark(this);
65 } 65 }
66 66
67 void write(Blob*, ExceptionCode&); 67 void write(Blob*, ExceptionCode&);
68 void seek(long long position, ExceptionCode&); 68 void seek(long long position, ExceptionCode&);
69 void truncate(long long length, ExceptionCode&); 69 void truncate(long long length, ExceptionCode&);
70 void abort(ExceptionCode&); 70 void abort(ExceptionCode&);
71 ReadyState readyState() const { return m_readyState; } 71 ReadyState readyState() const { return m_readyState; }
72 FileError* error() const { return m_error.get(); } 72 FileError* error() const { return m_error.get(); }
73 73
74 // AsyncFileWriterClient 74 // AsyncFileWriterClient
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 long long m_truncateLength; 130 long long m_truncateLength;
131 long long m_numAborts; 131 long long m_numAborts;
132 long long m_recursionDepth; 132 long long m_recursionDepth;
133 double m_lastProgressNotificationTimeMS; 133 double m_lastProgressNotificationTimeMS;
134 RefPtr<Blob> m_blobBeingWritten; 134 RefPtr<Blob> m_blobBeingWritten;
135 }; 135 };
136 136
137 } // namespace WebCore 137 } // namespace WebCore
138 138
139 #endif // FileWriter_h 139 #endif // FileWriter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698