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

Side by Side Diff: third_party/WebKit/Source/core/loader/resource/ImageResource.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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org)
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 6 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 22 matching lines...) Expand all
33 #include "platform/RuntimeEnabledFeatures.h" 33 #include "platform/RuntimeEnabledFeatures.h"
34 #include "platform/SharedBuffer.h" 34 #include "platform/SharedBuffer.h"
35 #include "platform/instrumentation/tracing/TraceEvent.h" 35 #include "platform/instrumentation/tracing/TraceEvent.h"
36 #include "platform/loader/fetch/MemoryCache.h" 36 #include "platform/loader/fetch/MemoryCache.h"
37 #include "platform/loader/fetch/ResourceClient.h" 37 #include "platform/loader/fetch/ResourceClient.h"
38 #include "platform/loader/fetch/ResourceFetcher.h" 38 #include "platform/loader/fetch/ResourceFetcher.h"
39 #include "platform/loader/fetch/ResourceLoader.h" 39 #include "platform/loader/fetch/ResourceLoader.h"
40 #include "platform/loader/fetch/ResourceLoadingLog.h" 40 #include "platform/loader/fetch/ResourceLoadingLog.h"
41 #include "platform/network/HTTPParsers.h" 41 #include "platform/network/HTTPParsers.h"
42 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 42 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
43 #include "platform/wtf/CurrentTime.h"
44 #include "platform/wtf/StdLibExtras.h"
43 #include "public/platform/Platform.h" 45 #include "public/platform/Platform.h"
44 #include "v8/include/v8.h" 46 #include "v8/include/v8.h"
45 #include "wtf/CurrentTime.h"
46 #include "wtf/StdLibExtras.h"
47 47
48 namespace blink { 48 namespace blink {
49 namespace { 49 namespace {
50 // The amount of time to wait before informing the clients that the image has 50 // The amount of time to wait before informing the clients that the image has
51 // been updated (in seconds). This effectively throttles invalidations that 51 // been updated (in seconds). This effectively throttles invalidations that
52 // result from new data arriving for this image. 52 // result from new data arriving for this image.
53 constexpr double kFlushDelaySeconds = 1.; 53 constexpr double kFlushDelaySeconds = 1.;
54 } // namespace 54 } // namespace
55 55
56 class ImageResource::ImageResourceInfoImpl final 56 class ImageResource::ImageResourceInfoImpl final
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // reloading in Step 3 due to notifyObservers()'s 594 // reloading in Step 3 due to notifyObservers()'s
595 // schedulingReloadOrShouldReloadBrokenPlaceholder() check. 595 // schedulingReloadOrShouldReloadBrokenPlaceholder() check.
596 // 3. reloadIfLoFiOrPlaceholderImage() is called via ResourceFetcher 596 // 3. reloadIfLoFiOrPlaceholderImage() is called via ResourceFetcher
597 // (a) via didFinishLoading() called in decodeError(), or 597 // (a) via didFinishLoading() called in decodeError(), or
598 // (b) after returning ImageResource::updateImage(). 598 // (b) after returning ImageResource::updateImage().
599 DecodeError(all_data_received); 599 DecodeError(all_data_received);
600 } 600 }
601 } 601 }
602 602
603 } // namespace blink 603 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698