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

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

Issue 1163253003: Clean up macros around DEFINE_EVENT_TARGET_REFCOUNTING (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.h ('k') | Source/modules/indexeddb/IDBDatabase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class FileWriter final 49 class FileWriter final
50 #if ENABLE(OILPAN) 50 #if ENABLE(OILPAN)
51 : public EventTargetWithInlineData 51 : public EventTargetWithInlineData
52 , public FileWriterBase 52 , public FileWriterBase
53 #else 53 #else
54 : public FileWriterBase 54 : public FileWriterBase
55 , public EventTargetWithInlineData 55 , public EventTargetWithInlineData
56 #endif 56 #endif
57 , public ActiveDOMObject 57 , public ActiveDOMObject
58 , public WebFileWriterClient { 58 , public WebFileWriterClient {
59 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F ileWriterBase>); 59 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(FileWriterBase);
60 DEFINE_WRAPPERTYPEINFO(); 60 DEFINE_WRAPPERTYPEINFO();
61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter);
62 public: 62 public:
63 static FileWriter* create(ExecutionContext*); 63 static FileWriter* create(ExecutionContext*);
64 64
65 enum ReadyState { 65 enum ReadyState {
66 INIT = 0, 66 INIT = 0,
67 WRITING = 1, 67 WRITING = 1,
68 DONE = 2 68 DONE = 2
69 }; 69 };
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 long long m_numAborts; 129 long long m_numAborts;
130 long long m_recursionDepth; 130 long long m_recursionDepth;
131 double m_lastProgressNotificationTimeMS; 131 double m_lastProgressNotificationTimeMS;
132 Member<Blob> m_blobBeingWritten; 132 Member<Blob> m_blobBeingWritten;
133 int m_asyncOperationId; 133 int m_asyncOperationId;
134 }; 134 };
135 135
136 } // namespace blink 136 } // namespace blink
137 137
138 #endif // FileWriter_h 138 #endif // FileWriter_h
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.h ('k') | Source/modules/indexeddb/IDBDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698