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

Side by Side Diff: Source/core/loader/appcache/ApplicationCacheHost.h

Issue 618583002: Correct data size argument type in resource loading path to unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add static_cast to RELEASE_ASSERT in AssociatedURLLoader::ClientAdapter::didReceiveData Created 6 years, 2 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) 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 long long m_size; 105 long long m_size;
106 }; 106 };
107 107
108 typedef Vector<ResourceInfo> ResourceInfoList; 108 typedef Vector<ResourceInfo> ResourceInfoList;
109 109
110 void selectCacheWithoutManifest(); 110 void selectCacheWithoutManifest();
111 void selectCacheWithManifest(const KURL& manifestURL); 111 void selectCacheWithManifest(const KURL& manifestURL);
112 112
113 void willStartLoadingMainResource(ResourceRequest&); 113 void willStartLoadingMainResource(ResourceRequest&);
114 void didReceiveResponseForMainResource(const ResourceResponse&); 114 void didReceiveResponseForMainResource(const ResourceResponse&);
115 void mainResourceDataReceived(const char* data, int length); 115 void mainResourceDataReceived(const char* data, unsigned length);
116 void finishedLoadingMainResource(); 116 void finishedLoadingMainResource();
117 void failedLoadingMainResource(); 117 void failedLoadingMainResource();
118 118
119 void willStartLoadingResource(ResourceRequest&); 119 void willStartLoadingResource(ResourceRequest&);
120 120
121 Status status() const; 121 Status status() const;
122 bool update(); 122 bool update();
123 bool swapCache(); 123 bool swapCache();
124 void abort(); 124 void abort();
125 125
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 Vector<DeferredEvent> m_deferredEvents; 171 Vector<DeferredEvent> m_deferredEvents;
172 172
173 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const String& errorMessage); 173 void dispatchDOMEvent(EventID, int progressTotal, int progressDone, WebA pplicationCacheHost::ErrorReason, const String& errorURL, int errorStatus, const String& errorMessage);
174 174
175 OwnPtr<WebApplicationCacheHost> m_host; 175 OwnPtr<WebApplicationCacheHost> m_host;
176 }; 176 };
177 177
178 } // namespace blink 178 } // namespace blink
179 179
180 #endif // ApplicationCacheHost_h 180 #endif // ApplicationCacheHost_h
OLDNEW
« no previous file with comments | « Source/core/loader/WorkerThreadableLoader.cpp ('k') | Source/core/loader/appcache/ApplicationCacheHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698