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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/filesystem/FileEntrySync.h ('k') | Source/modules/filesystem/FileWriterSync.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 30 matching lines...) Expand all
41 #include "wtf/RefPtr.h" 41 #include "wtf/RefPtr.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class Blob; 45 class Blob;
46 class ExceptionState; 46 class ExceptionState;
47 class ExecutionContext; 47 class ExecutionContext;
48 48
49 class FileWriter FINAL : public FileWriterBase, public ActiveDOMObject, public E ventTargetWithInlineData, public WebFileWriterClient { 49 class FileWriter FINAL : public FileWriterBase, public ActiveDOMObject, public E ventTargetWithInlineData, public WebFileWriterClient {
50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F ileWriterBase>); 50 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<F ileWriterBase>);
51 DEFINE_WRAPPERTYPEINFO();
51 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter); 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FileWriter);
52 public: 53 public:
53 static FileWriter* create(ExecutionContext*); 54 static FileWriter* create(ExecutionContext*);
54 55
55 enum ReadyState { 56 enum ReadyState {
56 INIT = 0, 57 INIT = 0,
57 WRITING = 1, 58 WRITING = 1,
58 DONE = 2 59 DONE = 2
59 }; 60 };
60 61
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 long long m_numAborts; 120 long long m_numAborts;
120 long long m_recursionDepth; 121 long long m_recursionDepth;
121 double m_lastProgressNotificationTimeMS; 122 double m_lastProgressNotificationTimeMS;
122 RefPtrWillBeMember<Blob> m_blobBeingWritten; 123 RefPtrWillBeMember<Blob> m_blobBeingWritten;
123 int m_asyncOperationId; 124 int m_asyncOperationId;
124 }; 125 };
125 126
126 } // namespace blink 127 } // namespace blink
127 128
128 #endif // FileWriter_h 129 #endif // FileWriter_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/FileEntrySync.h ('k') | Source/modules/filesystem/FileWriterSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698