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

Unified Diff: Source/core/loader/ThreadableLoaderClient.h

Issue 1179733009: Always enable Oilpan for EventSource. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: msvc compile fix Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/loader/WorkerLoaderClientBridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/ThreadableLoaderClient.h
diff --git a/Source/core/loader/ThreadableLoaderClient.h b/Source/core/loader/ThreadableLoaderClient.h
index 431e6cf51008b4d404ecbbb450c5b8810fa1a7ce..f4d6377324c991f34f126070fd46159715ae3e27 100644
--- a/Source/core/loader/ThreadableLoaderClient.h
+++ b/Source/core/loader/ThreadableLoaderClient.h
@@ -40,34 +40,33 @@
namespace blink {
- class ResourceError;
- class ResourceResponse;
- class ResourceTimingInfo;
+class ResourceError;
+class ResourceResponse;
+class ResourceTimingInfo;
- class CORE_EXPORT ThreadableLoaderClient {
- WTF_MAKE_NONCOPYABLE(ThreadableLoaderClient);
- WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ThreadableLoaderClient);
- public:
- virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/) { }
+class CORE_EXPORT ThreadableLoaderClient {
+ WTF_MAKE_NONCOPYABLE(ThreadableLoaderClient);
+public:
+ virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long long /*totalBytesToBeSent*/) { }
- virtual void didReceiveResponse(unsigned long /*identifier*/, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) { }
- virtual void didReceiveData(const char*, unsigned /*dataLength*/) { }
- virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
- virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) { }
- virtual void didFail(const ResourceError&) { }
- virtual void didFailAccessControlCheck(const ResourceError& error) { didFail(error); }
- virtual void didFailRedirectCheck() { }
- virtual void didReceiveResourceTiming(const ResourceTimingInfo&) { }
+ virtual void didReceiveResponse(unsigned long /*identifier*/, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) { }
+ virtual void didReceiveData(const char*, unsigned /*dataLength*/) { }
+ virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
+ virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) { }
+ virtual void didFail(const ResourceError&) { }
+ virtual void didFailAccessControlCheck(const ResourceError& error) { didFail(error); }
+ virtual void didFailRedirectCheck() { }
+ virtual void didReceiveResourceTiming(const ResourceTimingInfo&) { }
- virtual bool isDocumentThreadableLoaderClient() { return false; }
+ virtual bool isDocumentThreadableLoaderClient() { return false; }
- virtual void didDownloadData(int /*dataLength*/) { }
+ virtual void didDownloadData(int /*dataLength*/) { }
- virtual ~ThreadableLoaderClient() { }
+ virtual ~ThreadableLoaderClient() { }
- protected:
- ThreadableLoaderClient() { }
- };
+protected:
+ ThreadableLoaderClient() { }
+};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/loader/WorkerLoaderClientBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698