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

Unified Diff: chrome_frame/protocol_sink_wrap.cc

Issue 3131003: Support GCF as the default HTML viewer. I simply extended the IsOptInUrl che... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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: chrome_frame/protocol_sink_wrap.cc
===================================================================
--- chrome_frame/protocol_sink_wrap.cc (revision 55568)
+++ chrome_frame/protocol_sink_wrap.cc (working copy)
@@ -420,7 +420,7 @@
} else if (renderer_type_ == OTHER) {
// Suggested mime type is not "text/html" - we are not interested in
// this request anymore.
- FireSugestedMimeType(delegate);
+ FireSuggestedMimeType(delegate);
} else {
// Suggested mime type is "text/html"; We will try to sniff the
// HTML content in ReportData.
@@ -460,7 +460,7 @@
}
if (renderer_type_ == OTHER) {
- FireSugestedMimeType(delegate);
+ FireSuggestedMimeType(delegate);
}
// This is the first data notification we forward, since up to now we hold
@@ -481,7 +481,7 @@
if (renderer_type_ == UNDETERMINED) {
DLOG(INFO) << "ReportResult received but renderer type is yet unknown.";
renderer_type_ = OTHER;
- FireSugestedMimeType(delegate);
+ FireSuggestedMimeType(delegate);
}
HRESULT hr = S_OK;
@@ -517,7 +517,7 @@
suggested_mime_type_.Allocate(status_text);
}
-void ProtData::FireSugestedMimeType(IInternetProtocolSink* delegate) {
+void ProtData::FireSuggestedMimeType(IInternetProtocolSink* delegate) {
if (has_server_mime_type_) {
DLOG(INFO) << "Forwarding BINDSTATUS_SERVER_MIMETYPEAVAILABLE "
<< suggested_mime_type_;
« no previous file with comments | « chrome_frame/protocol_sink_wrap.h ('k') | chrome_frame/utils.cc » ('j') | chrome_frame/utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698