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

Unified Diff: src/plugin/PluginClass.cpp

Issue 5032147387678720: NoIssue - Refactor HTTP and HTTPS namespaces registration
Patch Set: Rename CPluginMimeFilterClient to CPluginAppNamespaceClient Created April 13, 2015, 3:24 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/PluginClass.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -21,7 +21,7 @@
#include "PluginSettings.h"
#include "PluginSystem.h"
#include "PluginFilter.h"
-#include "PluginMimeFilterClient.h"
+#include "PluginAppNamespaceClient.h"
#include "PluginClient.h"
#include "PluginMutex.h"
#include "sddl.h"
@@ -46,7 +46,7 @@
uint32_t iconHeight = 32;
uint32_t iconWidth = 32;
-std::shared_ptr<CPluginMimeFilterClient> CPluginClass::s_mimeFilter = NULL;
+std::shared_ptr<CPluginAppNamespaceClient> CPluginClass::s_mimeFilter = NULL;
CLOSETHEMEDATA pfnClose = NULL;
DRAWTHEMEBACKGROUND pfnDrawThemeBackground = NULL;
@@ -248,7 +248,7 @@
// Always register on startup, then check if we need to unregister in a separate thread
if (!s_mimeFilter)
{
- s_mimeFilter.reset(new CPluginMimeFilterClient());
+ s_mimeFilter.reset(new CPluginAppNamespaceClient());
Oleksandr 2015/04/13 03:34:51 It doesn't look like CPluginAppNammespaceClient()
Eric 2015/05/16 21:00:02 It can throw. This constructor calls 'CMetaFactory
}
s_asyncWebBrowser2 = unknownSite;
s_instances.insert(this);
@@ -1086,7 +1086,7 @@
{
if (settings->GetPluginEnabled())
{
- s_mimeFilter.reset(new CPluginMimeFilterClient());
+ s_mimeFilter.reset(new CPluginAppNamespaceClient());
}
else
{
« no previous file with comments | « src/plugin/PluginClass.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld