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

Side by Side Diff: public/platform/WebURLLoaderClient.h

Issue 100563004: Redirect HTML resource bytes directly to parser thread (Blink side CL) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_decodermove
Patch Set: Missing include Created 7 years 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Called when a chunk of renderer-generated metadata is received from the c ache. 63 // Called when a chunk of renderer-generated metadata is received from the c ache.
64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int d ataLength) { } 64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int d ataLength) { }
65 65
66 // Called when the load completes successfully. 66 // Called when the load completes successfully.
67 virtual void didFinishLoading(WebURLLoader*, double finishTime) { } 67 virtual void didFinishLoading(WebURLLoader*, double finishTime) { }
68 68
69 // Called when the load completes with an error. 69 // Called when the load completes with an error.
70 virtual void didFail(WebURLLoader*, const WebURLError&) { } 70 virtual void didFail(WebURLLoader*, const WebURLError&) { }
71 71
72 // Called when the message filter for the parser has been added to the I/O t hread.
73 virtual void didAddParserResourceMessageFilter() { }
abarth-chromium 2013/12/18 18:28:49 Again, this API is too coupled to the implementati
74
72 protected: 75 protected:
73 virtual ~WebURLLoaderClient() { } 76 virtual ~WebURLLoaderClient() { }
74 }; 77 };
75 78
76 } // namespace blink 79 } // namespace blink
77 80
78 #endif 81 #endif
OLDNEW
« public/platform/WebURLLoader.h ('K') | « public/platform/WebURLLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698