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

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

Issue 2810413002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of platform/. (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) 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 20 matching lines...) Expand all
31 #include "platform/mhtml/MHTMLArchive.h" 31 #include "platform/mhtml/MHTMLArchive.h"
32 32
33 #include "platform/DateComponents.h" 33 #include "platform/DateComponents.h"
34 #include "platform/SerializedResource.h" 34 #include "platform/SerializedResource.h"
35 #include "platform/SharedBuffer.h" 35 #include "platform/SharedBuffer.h"
36 #include "platform/mhtml/ArchiveResource.h" 36 #include "platform/mhtml/ArchiveResource.h"
37 #include "platform/mhtml/MHTMLParser.h" 37 #include "platform/mhtml/MHTMLParser.h"
38 #include "platform/network/mime/MIMETypeRegistry.h" 38 #include "platform/network/mime/MIMETypeRegistry.h"
39 #include "platform/text/QuotedPrintable.h" 39 #include "platform/text/QuotedPrintable.h"
40 #include "platform/weborigin/SchemeRegistry.h" 40 #include "platform/weborigin/SchemeRegistry.h"
41 #include "wtf/Assertions.h" 41 #include "platform/wtf/Assertions.h"
42 #include "wtf/CryptographicallyRandomNumber.h" 42 #include "platform/wtf/CryptographicallyRandomNumber.h"
43 #include "wtf/CurrentTime.h" 43 #include "platform/wtf/CurrentTime.h"
44 #include "wtf/DateMath.h" 44 #include "platform/wtf/DateMath.h"
45 #include "wtf/text/Base64.h" 45 #include "platform/wtf/text/Base64.h"
46 #include "wtf/text/StringBuilder.h" 46 #include "platform/wtf/text/StringBuilder.h"
47 47
48 namespace blink { 48 namespace blink {
49 49
50 const char* const kQuotedPrintable = "quoted-printable"; 50 const char* const kQuotedPrintable = "quoted-printable";
51 const char* const kBase64 = "base64"; 51 const char* const kBase64 = "base64";
52 const char* const kBinary = "binary"; 52 const char* const kBinary = "binary";
53 53
54 static String ReplaceNonPrintableCharacters(const String& text) { 54 static String ReplaceNonPrintableCharacters(const String& text) {
55 StringBuilder string_builder; 55 StringBuilder string_builder;
56 for (size_t i = 0; i < text.length(); ++i) { 56 for (size_t i = 0; i < text.length(); ++i) {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 ArchiveResource* MHTMLArchive::SubresourceForURL(const KURL& url) const { 269 ArchiveResource* MHTMLArchive::SubresourceForURL(const KURL& url) const {
270 return subresources_.at(url.GetString()); 270 return subresources_.at(url.GetString());
271 } 271 }
272 272
273 DEFINE_TRACE(MHTMLArchive) { 273 DEFINE_TRACE(MHTMLArchive) {
274 visitor->Trace(main_resource_); 274 visitor->Trace(main_resource_);
275 visitor->Trace(subresources_); 275 visitor->Trace(subresources_);
276 } 276 }
277 277
278 } // namespace blink 278 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h ('k') | third_party/WebKit/Source/platform/mhtml/MHTMLParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698