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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameSerializer.cpp

Issue 2818613003: Rewrite references to "wtf/" to "platform/wtf/" in core/frame. (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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "core/html/ImageDocument.h" 57 #include "core/html/ImageDocument.h"
58 #include "core/loader/resource/FontResource.h" 58 #include "core/loader/resource/FontResource.h"
59 #include "core/loader/resource/ImageResourceContent.h" 59 #include "core/loader/resource/ImageResourceContent.h"
60 #include "core/style/StyleFetchedImage.h" 60 #include "core/style/StyleFetchedImage.h"
61 #include "core/style/StyleImage.h" 61 #include "core/style/StyleImage.h"
62 #include "platform/Histogram.h" 62 #include "platform/Histogram.h"
63 #include "platform/SerializedResource.h" 63 #include "platform/SerializedResource.h"
64 #include "platform/graphics/Image.h" 64 #include "platform/graphics/Image.h"
65 #include "platform/heap/Handle.h" 65 #include "platform/heap/Handle.h"
66 #include "platform/instrumentation/tracing/TraceEvent.h" 66 #include "platform/instrumentation/tracing/TraceEvent.h"
67 #include "wtf/HashSet.h" 67 #include "platform/wtf/HashSet.h"
68 #include "wtf/text/CString.h" 68 #include "platform/wtf/text/CString.h"
69 #include "wtf/text/StringBuilder.h" 69 #include "platform/wtf/text/StringBuilder.h"
70 #include "wtf/text/TextEncoding.h" 70 #include "platform/wtf/text/TextEncoding.h"
71 #include "wtf/text/WTFString.h" 71 #include "platform/wtf/text/WTFString.h"
72 72
73 namespace { 73 namespace {
74 74
75 const int32_t secondsToMicroseconds = 1000 * 1000; 75 const int32_t secondsToMicroseconds = 1000 * 1000;
76 const int32_t maxSerializationTimeUmaMicroseconds = 10 * secondsToMicroseconds; 76 const int32_t maxSerializationTimeUmaMicroseconds = 10 * secondsToMicroseconds;
77 77
78 } // namespace 78 } // namespace
79 79
80 namespace blink { 80 namespace blink {
81 81
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 emits_minus = ch == '-'; 579 emits_minus = ch == '-';
580 builder.Append(ch); 580 builder.Append(ch);
581 } 581 }
582 CString escaped_url = builder.ToString().Ascii(); 582 CString escaped_url = builder.ToString().Ascii();
583 return String::Format("saved from url=(%04d)%s", 583 return String::Format("saved from url=(%04d)%s",
584 static_cast<int>(escaped_url.length()), 584 static_cast<int>(escaped_url.length()),
585 escaped_url.Data()); 585 escaped_url.Data());
586 } 586 }
587 587
588 } // namespace blink 588 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameSerializer.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698