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

Side by Side Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.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) 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2009, 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 , m_creationTime(creationTime) 83 , m_creationTime(creationTime)
84 , m_updateTime(updateTime) 84 , m_updateTime(updateTime)
85 , m_size(size) { } 85 , m_size(size) { }
86 KURL m_manifest; 86 KURL m_manifest;
87 double m_creationTime; 87 double m_creationTime;
88 double m_updateTime; 88 double m_updateTime;
89 long long m_size; 89 long long m_size;
90 }; 90 };
91 91
92 struct ResourceInfo { 92 struct ResourceInfo {
93 ALLOW_ONLY_INLINE_ALLOCATION(); 93 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
94 ResourceInfo(const KURL& resource, bool isMaster, bool isManifest, b ool isFallback, bool isForeign, bool isExplicit, long long size) 94 ResourceInfo(const KURL& resource, bool isMaster, bool isManifest, b ool isFallback, bool isForeign, bool isExplicit, long long size)
95 : m_resource(resource) 95 : m_resource(resource)
96 , m_isMaster(isMaster) 96 , m_isMaster(isMaster)
97 , m_isManifest(isManifest) 97 , m_isManifest(isManifest)
98 , m_isFallback(isFallback) 98 , m_isFallback(isFallback)
99 , m_isForeign(isForeign) 99 , m_isForeign(isForeign)
100 , m_isExplicit(isExplicit) 100 , m_isExplicit(isExplicit)
101 , m_size(size) { } 101 , m_size(size) { }
102 KURL m_resource; 102 KURL m_resource;
103 bool m_isMaster; 103 bool m_isMaster;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 Vector<DeferredEvent> m_deferredEvents; 174 Vector<DeferredEvent> m_deferredEvents;
175 175
176 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const String& errorMessage); 176 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const String& errorMessage);
177 177
178 OwnPtr<WebApplicationCacheHost> m_host; 178 OwnPtr<WebApplicationCacheHost> m_host;
179 }; 179 };
180 180
181 } // namespace blink 181 } // namespace blink
182 182
183 #endif // ApplicationCacheHost_h 183 #endif // ApplicationCacheHost_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/ThreadableLoader.h ('k') | third_party/WebKit/Source/core/page/FrameTree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698