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

Side by Side Diff: Source/core/xml/XMLHttpRequestUpload.h

Issue 133983002: Update XML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 26 matching lines...) Expand all
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 #include "wtf/RefPtr.h" 38 #include "wtf/RefPtr.h"
39 #include "wtf/Vector.h" 39 #include "wtf/Vector.h"
40 #include "wtf/text/AtomicStringHash.h" 40 #include "wtf/text/AtomicStringHash.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class ExecutionContext; 44 class ExecutionContext;
45 class XMLHttpRequest; 45 class XMLHttpRequest;
46 46
47 class XMLHttpRequestUpload : public ScriptWrappable, public XMLHttpRequestEventT arget { 47 class XMLHttpRequestUpload FINAL : public ScriptWrappable, public XMLHttpRequest EventTarget {
48 public: 48 public:
49 static PassOwnPtr<XMLHttpRequestUpload> create(XMLHttpRequest* xmlHttpReques t) 49 static PassOwnPtr<XMLHttpRequestUpload> create(XMLHttpRequest* xmlHttpReques t)
50 { 50 {
51 return adoptPtr(new XMLHttpRequestUpload(xmlHttpRequest)); 51 return adoptPtr(new XMLHttpRequestUpload(xmlHttpRequest));
52 } 52 }
53 53
54 void ref() { m_xmlHttpRequest->ref(); } 54 void ref() { m_xmlHttpRequest->ref(); }
55 void deref() { m_xmlHttpRequest->deref(); } 55 void deref() { m_xmlHttpRequest->deref(); }
56 XMLHttpRequest* xmlHttpRequest() const { return m_xmlHttpRequest; } 56 XMLHttpRequest* xmlHttpRequest() const { return m_xmlHttpRequest; }
57 57
(...skipping 16 matching lines...) Expand all
74 74
75 // Last progress event values; used when issuing the 75 // Last progress event values; used when issuing the
76 // required 'progress' event on a request error or abort. 76 // required 'progress' event on a request error or abort.
77 unsigned long long m_lastBytesSent; 77 unsigned long long m_lastBytesSent;
78 unsigned long long m_lastTotalBytesToBeSent; 78 unsigned long long m_lastTotalBytesToBeSent;
79 }; 79 };
80 80
81 } // namespace WebCore 81 } // namespace WebCore
82 82
83 #endif // XMLHttpRequestUpload_h 83 #endif // XMLHttpRequestUpload_h
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequestProgressEventThrottle.h ('k') | Source/core/xml/XPathFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698