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

Side by Side Diff: third_party/WebKit/Source/core/loader/HistoryItem.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) 2005, 2006, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2008, 2011 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 10 matching lines...) Expand all
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "core/loader/HistoryItem.h" 26 #include "core/loader/HistoryItem.h"
27 27
28 #include "core/html/forms/FormController.h" 28 #include "core/html/forms/FormController.h"
29 #include "platform/loader/fetch/ResourceRequest.h" 29 #include "platform/loader/fetch/ResourceRequest.h"
30 #include "platform/weborigin/SecurityPolicy.h" 30 #include "platform/weborigin/SecurityPolicy.h"
31 #include "wtf/Assertions.h" 31 #include "platform/wtf/Assertions.h"
32 #include "wtf/CurrentTime.h" 32 #include "platform/wtf/CurrentTime.h"
33 #include "wtf/text/CString.h" 33 #include "platform/wtf/text/CString.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 static long long GenerateSequenceNumber() { 37 static long long GenerateSequenceNumber() {
38 // Initialize to the current time to reduce the likelihood of generating 38 // Initialize to the current time to reduce the likelihood of generating
39 // identifiers that overlap with those from past/future browser sessions. 39 // identifiers that overlap with those from past/future browser sessions.
40 static long long next = static_cast<long long>(CurrentTime() * 1000000.0); 40 static long long next = static_cast<long long>(CurrentTime() * 1000000.0);
41 return ++next; 41 return ++next;
42 } 42 }
43 43
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 request.AddHTTPOriginIfNeeded(referrer_.referrer); 173 request.AddHTTPOriginIfNeeded(referrer_.referrer);
174 } 174 }
175 return request; 175 return request;
176 } 176 }
177 177
178 DEFINE_TRACE(HistoryItem) { 178 DEFINE_TRACE(HistoryItem) {
179 visitor->Trace(document_state_); 179 visitor->Trace(document_state_);
180 } 180 }
181 181
182 } // namespace blink 182 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/HistoryItem.h ('k') | third_party/WebKit/Source/core/loader/HttpEquiv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698