Commit 992492e6 authored by mdjones's avatar mdjones Committed by Commit bot

Fix hanging get requests

Run the GotDataCallback for distiller feedback responses.

BUG=

Review URL: https://codereview.chromium.org/1106293004

Cr-Commit-Position: refs/heads/master@{#327203}
parent 640dc659
...@@ -232,6 +232,7 @@ void DomDistillerViewerSource::StartDataRequest( ...@@ -232,6 +232,7 @@ void DomDistillerViewerSource::StartDataRequest(
return; return;
} else if (kFeedbackBad == path) { } else if (kFeedbackBad == path) {
FeedbackReporter::ReportQuality(false); FeedbackReporter::ReportQuality(false);
callback.Run(NULL);
if (!external_feedback_reporter_) if (!external_feedback_reporter_)
return; return;
content::WebContents* contents = content::WebContents* contents =
...@@ -241,6 +242,7 @@ void DomDistillerViewerSource::StartDataRequest( ...@@ -241,6 +242,7 @@ void DomDistillerViewerSource::StartDataRequest(
return; return;
} else if (kFeedbackGood == path) { } else if (kFeedbackGood == path) {
FeedbackReporter::ReportQuality(true); FeedbackReporter::ReportQuality(true);
callback.Run(NULL);
return; return;
} }
content::WebContents* web_contents = content::WebContents* web_contents =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment