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

Side by Side Diff: Source/core/loader/FormSubmission.cpp

Issue 16282004: Remove unused includes from various .cpp files in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: re-add HTMLFormElement to EmptyClients for windows Created 7 years, 6 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
« no previous file with comments | « Source/core/loader/DocumentThreadableLoader.cpp ('k') | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/dom/Event.h" 36 #include "core/dom/Event.h"
37 #include "core/html/DOMFormData.h" 37 #include "core/html/DOMFormData.h"
38 #include "core/html/HTMLFormControlElement.h" 38 #include "core/html/HTMLFormControlElement.h"
39 #include "core/html/HTMLFormElement.h" 39 #include "core/html/HTMLFormElement.h"
40 #include "core/html/HTMLInputElement.h" 40 #include "core/html/HTMLInputElement.h"
41 #include "core/html/parser/HTMLParserIdioms.h" 41 #include "core/html/parser/HTMLParserIdioms.h"
42 #include "core/loader/FormState.h" 42 #include "core/loader/FormState.h"
43 #include "core/loader/FrameLoadRequest.h" 43 #include "core/loader/FrameLoadRequest.h"
44 #include "core/loader/FrameLoader.h" 44 #include "core/loader/FrameLoader.h"
45 #include "core/page/Frame.h"
46 #include "core/platform/network/FormData.h" 45 #include "core/platform/network/FormData.h"
47 #include "core/platform/network/FormDataBuilder.h" 46 #include "core/platform/network/FormDataBuilder.h"
48 #include "wtf/CurrentTime.h" 47 #include "wtf/CurrentTime.h"
49 #include "wtf/RandomNumber.h"
50 #include "wtf/text/TextEncoding.h" 48 #include "wtf/text/TextEncoding.h"
51 49
52 namespace WebCore { 50 namespace WebCore {
53 51
54 using namespace HTMLNames; 52 using namespace HTMLNames;
55 53
56 static int64_t generateFormDataIdentifier() 54 static int64_t generateFormDataIdentifier()
57 { 55 {
58 // Initialize to the current time to reduce the likelihood of generating 56 // Initialize to the current time to reduce the likelihood of generating
59 // identifiers that overlap with those from past/future browser sessions. 57 // identifiers that overlap with those from past/future browser sessions.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 frameRequest.resourceRequest().setHTTPContentType(m_contentType); 244 frameRequest.resourceRequest().setHTTPContentType(m_contentType);
247 else 245 else
248 frameRequest.resourceRequest().setHTTPContentType(m_contentType + "; boundary=" + m_boundary); 246 frameRequest.resourceRequest().setHTTPContentType(m_contentType + "; boundary=" + m_boundary);
249 } 247 }
250 248
251 frameRequest.resourceRequest().setURL(requestURL()); 249 frameRequest.resourceRequest().setURL(requestURL());
252 FrameLoader::addHTTPOriginIfNeeded(frameRequest.resourceRequest(), m_origin) ; 250 FrameLoader::addHTTPOriginIfNeeded(frameRequest.resourceRequest(), m_origin) ;
253 } 251 }
254 252
255 } 253 }
OLDNEW
« no previous file with comments | « Source/core/loader/DocumentThreadableLoader.cpp ('k') | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698