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

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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void abort(ExceptionState&); 67 void abort(ExceptionState&);
68 ReadyState getReadyState() const { return m_readyState; } 68 ReadyState getReadyState() const { return m_readyState; }
69 DOMException* error() const { return m_error.get(); } 69 DOMException* error() const { return m_error.get(); }
70 70
71 // WebFileWriterClient 71 // WebFileWriterClient
72 void didWrite(long long bytes, bool complete) override; 72 void didWrite(long long bytes, bool complete) override;
73 void didTruncate() override; 73 void didTruncate() override;
74 void didFail(WebFileError) override; 74 void didFail(WebFileError) override;
75 75
76 // ContextLifecycleObserver 76 // ContextLifecycleObserver
77 void contextDestroyed() override; 77 void contextDestroyed(ExecutionContext*) override;
78 78
79 // ScriptWrappable 79 // ScriptWrappable
80 bool hasPendingActivity() const final; 80 bool hasPendingActivity() const final;
81 81
82 // EventTarget 82 // EventTarget
83 const AtomicString& interfaceName() const override; 83 const AtomicString& interfaceName() const override;
84 ExecutionContext* getExecutionContext() const override { 84 ExecutionContext* getExecutionContext() const override {
85 return ContextLifecycleObserver::getExecutionContext(); 85 return ContextLifecycleObserver::getExecutionContext();
86 } 86 }
87 87
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 long long m_truncateLength; 125 long long m_truncateLength;
126 long long m_numAborts; 126 long long m_numAborts;
127 long long m_recursionDepth; 127 long long m_recursionDepth;
128 double m_lastProgressNotificationTimeMS; 128 double m_lastProgressNotificationTimeMS;
129 Member<Blob> m_blobBeingWritten; 129 Member<Blob> m_blobBeingWritten;
130 }; 130 };
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 #endif // FileWriter_h 134 #endif // FileWriter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchManager.cpp ('k') | third_party/WebKit/Source/modules/filesystem/FileWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698