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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 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
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 "public/platform/WebFileWriterClient.h" 41 #include "public/platform/WebFileWriterClient.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 EventTargetWithInlineData, 49 class FileWriter final : public EventTargetWithInlineData,
50 public FileWriterBase, 50 public FileWriterBase,
51 public ActiveScriptWrappable, 51 public ActiveScriptWrappable<FileWriter>,
52 public SuspendableObject, 52 public SuspendableObject,
53 public WebFileWriterClient { 53 public WebFileWriterClient {
54 DEFINE_WRAPPERTYPEINFO(); 54 DEFINE_WRAPPERTYPEINFO();
55 USING_GARBAGE_COLLECTED_MIXIN(FileWriter); 55 USING_GARBAGE_COLLECTED_MIXIN(FileWriter);
56 56
57 public: 57 public:
58 static FileWriter* create(ExecutionContext*); 58 static FileWriter* create(ExecutionContext*);
59 ~FileWriter() override; 59 ~FileWriter() override;
60 60
61 enum ReadyState { kInit = 0, kWriting = 1, kDone = 2 }; 61 enum ReadyState { kInit = 0, kWriting = 1, kDone = 2 };
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 long long m_truncateLength; 122 long long m_truncateLength;
123 long long m_numAborts; 123 long long m_numAborts;
124 long long m_recursionDepth; 124 long long m_recursionDepth;
125 double m_lastProgressNotificationTimeMS; 125 double m_lastProgressNotificationTimeMS;
126 Member<Blob> m_blobBeingWritten; 126 Member<Blob> m_blobBeingWritten;
127 }; 127 };
128 128
129 } // namespace blink 129 } // namespace blink
130 130
131 #endif // FileWriter_h 131 #endif // FileWriter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698