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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 2712033002: Part 1 Of Renaming FrameLoaderClient to LocalFrameClient. (Closed)
Patch Set: Update aliases to use "using" statement rather than typedef. Also appears I forgot to add the new f… Created 3 years, 9 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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "platform/loader/fetch/ClientHintsPreferences.h" 44 #include "platform/loader/fetch/ClientHintsPreferences.h"
45 #include "platform/loader/fetch/RawResource.h" 45 #include "platform/loader/fetch/RawResource.h"
46 #include "platform/loader/fetch/ResourceLoaderOptions.h" 46 #include "platform/loader/fetch/ResourceLoaderOptions.h"
47 #include "platform/loader/fetch/SubstituteData.h" 47 #include "platform/loader/fetch/SubstituteData.h"
48 #include "platform/network/ResourceError.h" 48 #include "platform/network/ResourceError.h"
49 #include "platform/network/ResourceRequest.h" 49 #include "platform/network/ResourceRequest.h"
50 #include "platform/network/ResourceResponse.h" 50 #include "platform/network/ResourceResponse.h"
51 #include "public/platform/WebLoadingBehaviorFlag.h" 51 #include "public/platform/WebLoadingBehaviorFlag.h"
52 #include "wtf/HashSet.h" 52 #include "wtf/HashSet.h"
53 #include "wtf/RefPtr.h" 53 #include "wtf/RefPtr.h"
54
54 #include <memory> 55 #include <memory>
55 56
56 namespace blink { 57 namespace blink {
57 58
58 class ApplicationCacheHost; 59 class ApplicationCacheHost;
59 class ResourceFetcher; 60 class ResourceFetcher;
60 class DocumentInit; 61 class DocumentInit;
61 class LocalFrame; 62 class LocalFrame;
63 class LocalFrameClient;
62 class FrameLoader; 64 class FrameLoader;
63 class FrameLoaderClient;
64 class ResourceTimingInfo; 65 class ResourceTimingInfo;
65 class WebDocumentSubresourceFilter; 66 class WebDocumentSubresourceFilter;
66 struct ViewportDescriptionWrapper; 67 struct ViewportDescriptionWrapper;
67 68
69 // TODO(slangley): Remove this once references to FrameLoaderClient are removed.
70 using FrameLoaderClient = LocalFrameClient;
haraken 2017/02/24 02:26:06 Avoid writing the using statement in multiple plac
71
68 class CORE_EXPORT DocumentLoader 72 class CORE_EXPORT DocumentLoader
69 : public GarbageCollectedFinalized<DocumentLoader>, 73 : public GarbageCollectedFinalized<DocumentLoader>,
70 private RawResourceClient { 74 private RawResourceClient {
71 USING_GARBAGE_COLLECTED_MIXIN(DocumentLoader); 75 USING_GARBAGE_COLLECTED_MIXIN(DocumentLoader);
72 76
73 public: 77 public:
74 static DocumentLoader* create(LocalFrame* frame, 78 static DocumentLoader* create(LocalFrame* frame,
75 const ResourceRequest& request, 79 const ResourceRequest& request,
76 const SubstituteData& data, 80 const SubstituteData& data,
77 ClientRedirectPolicy clientRedirectPolicy) { 81 ClientRedirectPolicy clientRedirectPolicy) {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // Used to protect against reentrancy into dataReceived(). 296 // Used to protect against reentrancy into dataReceived().
293 bool m_inDataReceived; 297 bool m_inDataReceived;
294 RefPtr<SharedBuffer> m_dataBuffer; 298 RefPtr<SharedBuffer> m_dataBuffer;
295 }; 299 };
296 300
297 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 301 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
298 302
299 } // namespace blink 303 } // namespace blink
300 304
301 #endif // DocumentLoader_h 305 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698