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

Side by Side Diff: Source/core/loader/archive/MHTMLArchive.cpp

Issue 14273024: Remove unnecessary include (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "core/platform/SharedBuffer.h" 42 #include "core/platform/SharedBuffer.h"
43 #include "core/platform/text/QuotedPrintable.h" 43 #include "core/platform/text/QuotedPrintable.h"
44 44
45 #include <wtf/CryptographicallyRandomNumber.h> 45 #include <wtf/CryptographicallyRandomNumber.h>
46 #include <wtf/DateMath.h> 46 #include <wtf/DateMath.h>
47 #include <wtf/GregorianDateTime.h> 47 #include <wtf/GregorianDateTime.h>
48 #include <wtf/StdLibExtras.h> 48 #include <wtf/StdLibExtras.h>
49 #include <wtf/text/Base64.h> 49 #include <wtf/text/Base64.h>
50 #include <wtf/text/StringBuilder.h> 50 #include <wtf/text/StringBuilder.h>
51 51
52 #if HAVE(SYS_TIME_H)
53 #include <sys/time.h>
54 #endif
55 #include <time.h>
56
57
58 namespace WebCore { 52 namespace WebCore {
59 53
60 const char* const quotedPrintable = "quoted-printable"; 54 const char* const quotedPrintable = "quoted-printable";
61 const char* const base64 = "base64"; 55 const char* const base64 = "base64";
62 const char* const binary = "binary"; 56 const char* const binary = "binary";
63 57
64 static String generateRandomBoundary() 58 static String generateRandomBoundary()
65 { 59 {
66 // Trying to generate random boundaries similar to IE/UnMHT (ex: ----=_NextP art_000_001B_01CC157B.96F808A0). 60 // Trying to generate random boundaries similar to IE/UnMHT (ex: ----=_NextP art_000_001B_01CC157B.96F808A0).
67 const size_t randomValuesLength = 10; 61 const size_t randomValuesLength = 10;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 for (Vector<RefPtr<MHTMLArchive> >::iterator it = m_subframeArchives.begin() ; it != m_subframeArchives.end(); ++it) { 245 for (Vector<RefPtr<MHTMLArchive> >::iterator it = m_subframeArchives.begin() ; it != m_subframeArchives.end(); ++it) {
252 if (!clearedArchives->contains(*it)) { 246 if (!clearedArchives->contains(*it)) {
253 clearedArchives->append(*it); 247 clearedArchives->append(*it);
254 (*it)->clearAllSubframeArchivesImpl(clearedArchives); 248 (*it)->clearAllSubframeArchivesImpl(clearedArchives);
255 } 249 }
256 } 250 }
257 m_subframeArchives.clear(); 251 m_subframeArchives.clear();
258 } 252 }
259 253
260 } 254 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698