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

Side by Side Diff: Source/platform/mhtml/MHTMLArchive.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/mhtml/MHTMLArchive.h ('k') | Source/platform/mhtml/MHTMLParser.h » ('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) 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 26 matching lines...) Expand all
37 #include "platform/SharedBuffer.h" 37 #include "platform/SharedBuffer.h"
38 #include "platform/mhtml/ArchiveResource.h" 38 #include "platform/mhtml/ArchiveResource.h"
39 #include "platform/mhtml/MHTMLParser.h" 39 #include "platform/mhtml/MHTMLParser.h"
40 #include "platform/text/QuotedPrintable.h" 40 #include "platform/text/QuotedPrintable.h"
41 #include "platform/weborigin/SchemeRegistry.h" 41 #include "platform/weborigin/SchemeRegistry.h"
42 #include "wtf/CryptographicallyRandomNumber.h" 42 #include "wtf/CryptographicallyRandomNumber.h"
43 #include "wtf/DateMath.h" 43 #include "wtf/DateMath.h"
44 #include "wtf/text/Base64.h" 44 #include "wtf/text/Base64.h"
45 #include "wtf/text/StringBuilder.h" 45 #include "wtf/text/StringBuilder.h"
46 46
47 namespace WebCore { 47 namespace blink {
48 48
49 const char* const quotedPrintable = "quoted-printable"; 49 const char* const quotedPrintable = "quoted-printable";
50 const char* const base64 = "base64"; 50 const char* const base64 = "base64";
51 const char* const binary = "binary"; 51 const char* const binary = "binary";
52 52
53 static String generateRandomBoundary() 53 static String generateRandomBoundary()
54 { 54 {
55 // Trying to generate random boundaries similar to IE/UnMHT (ex: ----=_NextP art_000_001B_01CC157B.96F808A0). 55 // Trying to generate random boundaries similar to IE/UnMHT (ex: ----=_NextP art_000_001B_01CC157B.96F808A0).
56 const size_t randomValuesLength = 10; 56 const size_t randomValuesLength = 10;
57 char randomValues[randomValuesLength]; 57 char randomValues[randomValuesLength];
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 } 252 }
253 253
254 void MHTMLArchive::trace(Visitor* visitor) 254 void MHTMLArchive::trace(Visitor* visitor)
255 { 255 {
256 visitor->trace(m_mainResource); 256 visitor->trace(m_mainResource);
257 visitor->trace(m_subresources); 257 visitor->trace(m_subresources);
258 visitor->trace(m_subframeArchives); 258 visitor->trace(m_subframeArchives);
259 } 259 }
260 260
261 } 261 }
OLDNEW
« no previous file with comments | « Source/platform/mhtml/MHTMLArchive.h ('k') | Source/platform/mhtml/MHTMLParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698