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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.h

Issue 1690503002: Rename XMLHttpRequestProgressEventThrottle to ProgressEventThrottle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.h
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.h b/third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.h
similarity index 89%
rename from third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.h
rename to third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.h
index edfaa606c4bfce32ddb5a2f00e619ae3944080d0..8badaa5310ba42f6e04f07f7961b02c8b9d1ed9f 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.h
+++ b/third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.h
@@ -24,8 +24,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef XMLHttpRequestProgressEventThrottle_h
-#define XMLHttpRequestProgressEventThrottle_h
+#ifndef ProgressEventThrottle_h
+#define ProgressEventThrottle_h
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
@@ -48,13 +48,13 @@ class XMLHttpRequest;
// - "progress" event means an event named "progress"
// - ProgressEvent means an event using the ProgressEvent interface defined in
// the spec.
-class XMLHttpRequestProgressEventThrottle final : public GarbageCollectedFinalized<XMLHttpRequestProgressEventThrottle>, public TimerBase {
+class ProgressEventThrottle final : public GarbageCollectedFinalized<ProgressEventThrottle>, public TimerBase {
public:
- static XMLHttpRequestProgressEventThrottle* create(XMLHttpRequest* eventTarget)
+ static ProgressEventThrottle* create(XMLHttpRequest* eventTarget)
{
- return new XMLHttpRequestProgressEventThrottle(eventTarget);
+ return new ProgressEventThrottle(eventTarget);
}
- ~XMLHttpRequestProgressEventThrottle() override;
+ ~ProgressEventThrottle() override;
enum DeferredEventAction {
Ignore,
@@ -85,7 +85,7 @@ public:
DECLARE_TRACE();
private:
- explicit XMLHttpRequestProgressEventThrottle(XMLHttpRequest*);
+ explicit ProgressEventThrottle(XMLHttpRequest*);
// Dispatches a "progress" progress event and usually a readyStateChange
// event as well.
@@ -127,4 +127,4 @@ private:
} // namespace blink
-#endif // XMLHttpRequestProgressEventThrottle_h
+#endif // ProgressEventThrottle_h
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/xmlhttprequest/ProgressEventThrottle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698