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

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

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class Document; 46 class Document;
47 class LinkRelAttribute; 47 class LinkRelAttribute;
48 class NetworkHintsInterface; 48 class NetworkHintsInterface;
49 class PrerenderHandle; 49 class PrerenderHandle;
50 50
51 // The LinkLoader can load link rel types icon, dns-prefetch, subresource, prefe tch and prerender. 51 // The LinkLoader can load link rel types icon, dns-prefetch, subresource, prefe tch and prerender.
52 class CORE_EXPORT LinkLoader final : public ResourceOwner<Resource, ResourceClie nt>, public PrerenderClient { 52 class CORE_EXPORT LinkLoader final : public ResourceOwner<Resource, ResourceClie nt>, public PrerenderClient {
53 DISALLOW_ALLOCATION(); 53 DISALLOW_NEW();
54 public: 54 public:
55 explicit LinkLoader(LinkLoaderClient*); 55 explicit LinkLoader(LinkLoaderClient*);
56 ~LinkLoader() override; 56 ~LinkLoader() override;
57 57
58 // from ResourceClient 58 // from ResourceClient
59 void notifyFinished(Resource*) override; 59 void notifyFinished(Resource*) override;
60 60
61 // from PrerenderClient 61 // from PrerenderClient
62 void didStartPrerender() override; 62 void didStartPrerender() override;
63 void didStopPrerender() override; 63 void didStopPrerender() override;
(...skipping 15 matching lines...) Expand all
79 79
80 Timer<LinkLoader> m_linkLoadTimer; 80 Timer<LinkLoader> m_linkLoadTimer;
81 Timer<LinkLoader> m_linkLoadingErrorTimer; 81 Timer<LinkLoader> m_linkLoadingErrorTimer;
82 82
83 OwnPtrWillBeMember<PrerenderHandle> m_prerender; 83 OwnPtrWillBeMember<PrerenderHandle> m_prerender;
84 }; 84 };
85 85
86 } 86 }
87 87
88 #endif 88 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkHeader.h ('k') | third_party/WebKit/Source/core/loader/MixedContentChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698