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

Unified Diff: src/plugin/Plugin.cpp

Issue 11013110: Cleanup (Closed)
Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.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/DownloadSource.h ('k') | src/plugin/PluginChecksum.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/Plugin.cpp
===================================================================
--- a/src/plugin/Plugin.cpp
+++ b/src/plugin/Plugin.cpp
@@ -112,15 +112,6 @@
CPluginSettings* settings = CPluginSettings::GetInstance();
- settings->SetMainProcessId();
- settings->EraseTab();
-
- settings->Remove(SETTING_PLUGIN_SELFTEST);
- settings->SetValue(SETTING_PLUGIN_INFO_PANEL, isInstall ? 1 : 2);
-
-
- settings->Write();
-
if (isInstall)
{
DEBUG_GENERAL(
@@ -132,28 +123,10 @@
{
DEBUG_GENERAL(
L"================================================================================\nUPDATER " +
- CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + settings->GetString(SETTING_PLUGIN_VERSION) + L")"
+ CString(IEPLUGIN_VERSION) +
L"\n================================================================================")
}
- // Create default filters
-#ifdef SUPPORT_FILTER
- // DEBUG_GENERAL(L"*** Generating default filters")
- // CPluginFilter::CreateFilters();
-#endif
-
- // Force creation of default config file
-#ifdef SUPPORT_CONFIG
- DEBUG_GENERAL("*** Generating config file")
- CPluginConfig* config = CPluginConfig::GetInstance();
- config->Create(true);
-#endif
-
- HKEY hKey = NULL;
- DWORD dwDisposition = 0;
-
- DWORD dwResult = NULL;
-
// Post async plugin error
CPluginError pluginError;
while (CPluginClientBase::PopFirstPluginError(pluginError))
« no previous file with comments | « src/plugin/DownloadSource.h ('k') | src/plugin/PluginChecksum.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld