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

Side by Side Diff: third_party/WebKit/Source/core/loader/FormSubmission.h

Issue 2377253002: Add explicit to core/fetch, core/loader and modules/websockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const AtomicString& target() const { return m_target; } 103 const AtomicString& target() const { return m_target; }
104 void clearTarget() { m_target = nullAtom; } 104 void clearTarget() { m_target = nullAtom; }
105 HTMLFormElement* form() const { return m_form.get(); } 105 HTMLFormElement* form() const { return m_form.get(); }
106 EncodedFormData* data() const { return m_formData.get(); } 106 EncodedFormData* data() const { return m_formData.get(); }
107 107
108 const String& result() const { return m_result; } 108 const String& result() const { return m_result; }
109 109
110 private: 110 private:
111 FormSubmission(SubmitMethod, const KURL& action, const AtomicString& target, const AtomicString& contentType, HTMLFormElement*, PassRefPtr<EncodedFormData>, const String& boundary, Event*); 111 FormSubmission(SubmitMethod, const KURL& action, const AtomicString& target, const AtomicString& contentType, HTMLFormElement*, PassRefPtr<EncodedFormData>, const String& boundary, Event*);
112 // FormSubmission for DialogMethod 112 // FormSubmission for DialogMethod
113 FormSubmission(const String& result); 113 explicit FormSubmission(const String& result);
114 114
115 // FIXME: Hold an instance of Attributes instead of individual members. 115 // FIXME: Hold an instance of Attributes instead of individual members.
116 SubmitMethod m_method; 116 SubmitMethod m_method;
117 KURL m_action; 117 KURL m_action;
118 AtomicString m_target; 118 AtomicString m_target;
119 AtomicString m_contentType; 119 AtomicString m_contentType;
120 Member<HTMLFormElement> m_form; 120 Member<HTMLFormElement> m_form;
121 RefPtr<EncodedFormData> m_formData; 121 RefPtr<EncodedFormData> m_formData;
122 String m_boundary; 122 String m_boundary;
123 Member<Event> m_event; 123 Member<Event> m_event;
124 String m_result; 124 String m_result;
125 }; 125 };
126 126
127 } // namespace blink 127 } // namespace blink
128 128
129 #endif // FormSubmission_h 129 #endif // FormSubmission_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698