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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.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, 10 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 28 matching lines...) Expand all
39 #include "platform/loader/fetch/FetchRequest.h" 39 #include "platform/loader/fetch/FetchRequest.h"
40 #include "platform/loader/fetch/ResourceFetcher.h" 40 #include "platform/loader/fetch/ResourceFetcher.h"
41 #include "platform/network/ResourceRequest.h" 41 #include "platform/network/ResourceRequest.h"
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class ClientHintsPreferences; 46 class ClientHintsPreferences;
47 class Document; 47 class Document;
48 class DocumentLoader; 48 class DocumentLoader;
49 class FrameLoaderClient; 49 class LocalFrameClient;
50 class LocalFrame; 50 class LocalFrame;
51 class ResourceError; 51 class ResourceError;
52 class ResourceResponse; 52 class ResourceResponse;
53 53
54 // TODO(slangley): Remove this once references to FrameLoaderClient are removed.
55 using FrameLoaderClient = LocalFrameClient;
56
54 class CORE_EXPORT FrameFetchContext final : public FetchContext { 57 class CORE_EXPORT FrameFetchContext final : public FetchContext {
55 public: 58 public:
56 static ResourceFetcher* createFetcherFromDocumentLoader( 59 static ResourceFetcher* createFetcherFromDocumentLoader(
57 DocumentLoader* loader) { 60 DocumentLoader* loader) {
58 return ResourceFetcher::create(new FrameFetchContext(loader, nullptr)); 61 return ResourceFetcher::create(new FrameFetchContext(loader, nullptr));
59 } 62 }
60 static ResourceFetcher* createFetcherFromDocument(Document* document) { 63 static ResourceFetcher* createFetcherFromDocument(Document* document) {
61 return ResourceFetcher::create(new FrameFetchContext(nullptr, document)); 64 return ResourceFetcher::create(new FrameFetchContext(nullptr, document));
62 } 65 }
63 66
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 206 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
204 // currently leak because ComputedStyle and its data are not on the heap. 207 // currently leak because ComputedStyle and its data are not on the heap.
205 // See crbug.com/383860 for details. 208 // See crbug.com/383860 for details.
206 WeakMember<Document> m_document; 209 WeakMember<Document> m_document;
207 Member<DocumentLoader> m_documentLoader; 210 Member<DocumentLoader> m_documentLoader;
208 }; 211 };
209 212
210 } // namespace blink 213 } // namespace blink
211 214
212 #endif 215 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698