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

Unified Diff: content/browser/loader/buffered_resource_handler.h

Issue 1081013002: Revert of Ensuring interception of stream get determined by plugin path before checking mime type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: content/browser/loader/buffered_resource_handler.h
diff --git a/content/browser/loader/buffered_resource_handler.h b/content/browser/loader/buffered_resource_handler.h
index e0a1388a7d578fb3ca6123a1ff43fffec2410c70..4e80ec53bd58e9c731037c14fc10ac3af05b7099 100644
--- a/content/browser/loader/buffered_resource_handler.h
+++ b/content/browser/loader/buffered_resource_handler.h
@@ -56,11 +56,6 @@
bool ShouldSniffContent();
bool DetermineMimeType();
- // Returns true if a plugin will handle the current request. |defer| is set
- // to true if plugin data is stale and needs to be refreshed before the
- // request can be handled. |request_handled| is false if the request should
- // be cancelled and true otherwise.
- bool IsHandledByPlugin(bool* defer, bool* request_handled);
bool SelectNextHandler(bool* defer);
bool UseAlternateNextHandler(scoped_ptr<ResourceHandler> handler,
const std::string& payload_for_old_handler);
@@ -69,6 +64,7 @@
void CallReplayReadCompleted();
bool MustDownload();
+ bool HasSupportingPlugin(bool* is_stale);
// Copies data from |read_buffer_| to |next_handler_|.
bool CopyReadBufferToNextHandler();

Powered by Google App Engine
This is Rietveld 408576698