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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
44 public: 44 public:
45 static XMLHttpRequestUpload* create(XMLHttpRequest* xmlHttpRequest) 45 static XMLHttpRequestUpload* create(XMLHttpRequest* xmlHttpRequest)
46 { 46 {
47 return new XMLHttpRequestUpload(xmlHttpRequest); 47 return new XMLHttpRequestUpload(xmlHttpRequest);
48 } 48 }
49 49
50 XMLHttpRequest* xmlHttpRequest() const { return m_xmlHttpRequest; } 50 XMLHttpRequest* xmlHttpRequest() const { return m_xmlHttpRequest; }
51 51
52 const AtomicString& interfaceName() const override; 52 const AtomicString& interfaceName() const override;
53 ExecutionContext* executionContext() const override; 53 ExecutionContext* getExecutionContext() const override;
54 54
55 void dispatchEventAndLoadEnd(const AtomicString&, bool, unsigned long long, unsigned long long); 55 void dispatchEventAndLoadEnd(const AtomicString&, bool, unsigned long long, unsigned long long);
56 void dispatchProgressEvent(unsigned long long, unsigned long long); 56 void dispatchProgressEvent(unsigned long long, unsigned long long);
57 57
58 void handleRequestError(const AtomicString&); 58 void handleRequestError(const AtomicString&);
59 59
60 DECLARE_VIRTUAL_TRACE(); 60 DECLARE_VIRTUAL_TRACE();
61 61
62 private: 62 private:
63 explicit XMLHttpRequestUpload(XMLHttpRequest*); 63 explicit XMLHttpRequestUpload(XMLHttpRequest*);
64 64
65 Member<XMLHttpRequest> m_xmlHttpRequest; 65 Member<XMLHttpRequest> m_xmlHttpRequest;
66 66
67 // Last progress event values; used when issuing the 67 // Last progress event values; used when issuing the
68 // required 'progress' event on a request error or abort. 68 // required 'progress' event on a request error or abort.
69 unsigned long long m_lastBytesSent; 69 unsigned long long m_lastBytesSent;
70 unsigned long long m_lastTotalBytesToBeSent; 70 unsigned long long m_lastTotalBytesToBeSent;
71 }; 71 };
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif // XMLHttpRequestUpload_h 75 #endif // XMLHttpRequestUpload_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698