Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginMimeFilterClient.cpp

Issue 5032147387678720: NoIssue - Refactor HTTP and HTTPS namespaces registration
Patch Set: Created April 13, 2015, 3:14 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginMimeFilterClient.h ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginMimeFilterClient.cpp
===================================================================
--- a/src/plugin/PluginMimeFilterClient.cpp
+++ b/src/plugin/PluginMimeFilterClient.cpp
@@ -25,7 +25,7 @@
typedef PassthroughAPP::CMetaFactory<PassthroughAPP::CComClassFactoryProtocol,WBPassthru> MetaFactory;
-CPluginMimeFilterClient::CPluginMimeFilterClient() : m_classFactory(NULL), m_spCFHTTP(NULL), m_spCFHTTPS(NULL)
+CPluginMimeFilterClient::CPluginMimeFilterClient() : m_spCFHTTP(NULL), m_spCFHTTPS(NULL)
{
// Should only be called once
// We register mime filters here
@@ -90,16 +90,4 @@
}
}
-}
-
-void CPluginMimeFilterClient::Unregister()
-{
- CComPtr<IInternetSession> spSession;
-
- ::CoInternetGetSession(0, &spSession, 0);
- if (spSession)
- {
- spSession->UnregisterNameSpace(m_spCFHTTP, L"http");
- spSession->UnregisterNameSpace(m_spCFHTTPS, L"https");
- }
-}
+}
« no previous file with comments | « src/plugin/PluginMimeFilterClient.h ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld