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

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

Issue 2815053002: Rewrite references to "wtf/" to "platform/wtf/" in core/loader. (Closed)
Patch Set: Created 3 years, 8 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 27 matching lines...) Expand all
38 #include "core/html/FormData.h" 38 #include "core/html/FormData.h"
39 #include "core/html/HTMLFormControlElement.h" 39 #include "core/html/HTMLFormControlElement.h"
40 #include "core/html/HTMLFormElement.h" 40 #include "core/html/HTMLFormElement.h"
41 #include "core/html/HTMLInputElement.h" 41 #include "core/html/HTMLInputElement.h"
42 #include "core/html/parser/HTMLParserIdioms.h" 42 #include "core/html/parser/HTMLParserIdioms.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 "platform/heap/Handle.h" 45 #include "platform/heap/Handle.h"
46 #include "platform/network/EncodedFormData.h" 46 #include "platform/network/EncodedFormData.h"
47 #include "platform/network/FormDataEncoder.h" 47 #include "platform/network/FormDataEncoder.h"
48 #include "platform/wtf/CurrentTime.h"
49 #include "platform/wtf/text/StringBuilder.h"
50 #include "platform/wtf/text/TextEncoding.h"
48 #include "public/platform/WebInsecureRequestPolicy.h" 51 #include "public/platform/WebInsecureRequestPolicy.h"
49 #include "wtf/CurrentTime.h"
50 #include "wtf/text/StringBuilder.h"
51 #include "wtf/text/TextEncoding.h"
52 52
53 namespace blink { 53 namespace blink {
54 54
55 using namespace HTMLNames; 55 using namespace HTMLNames;
56 56
57 static int64_t GenerateFormDataIdentifier() { 57 static int64_t GenerateFormDataIdentifier() {
58 // Initialize to the current time to reduce the likelihood of generating 58 // Initialize to the current time to reduce the likelihood of generating
59 // identifiers that overlap with those from past/future browser sessions. 59 // identifiers that overlap with those from past/future browser sessions.
60 static int64_t next_identifier = 60 static int64_t next_identifier =
61 static_cast<int64_t>(CurrentTime() * 1000000.0); 61 static_cast<int64_t>(CurrentTime() * 1000000.0);
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 frame_request.GetResourceRequest().SetURL(RequestURL()); 308 frame_request.GetResourceRequest().SetURL(RequestURL());
309 309
310 frame_request.SetTriggeringEvent(event_); 310 frame_request.SetTriggeringEvent(event_);
311 frame_request.SetForm(form_); 311 frame_request.SetForm(form_);
312 312
313 return frame_request; 313 return frame_request;
314 } 314 }
315 315
316 } // namespace blink 316 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FormSubmission.h ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698