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

Side by Side Diff: Shared/Plugin.cpp

Issue 9451102: Filterlists downloads changes (Closed)
Patch Set: Created Feb. 28, 2013, 10:32 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Shared/Config.h ('k') | Shared/PluginClass.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "Plugin.h" 3 #include "Plugin.h"
4 #if (defined PRODUCT_ADBLOCKPLUS) 4 #if (defined PRODUCT_ADBLOCKPLUS)
5 #include "../AdBlocker/AdBlocker_i.c" 5 #include "../AdBlocker/AdBlocker_i.c"
6 #endif 6 #endif
7 7
8 #include "PluginClass.h" 8 #include "PluginClass.h"
9 #include "PluginClient.h" 9 #include "PluginClient.h"
10 #include "PluginSystem.h" 10 #include "PluginSystem.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 else 134 else
135 { 135 {
136 DEBUG_GENERAL( 136 DEBUG_GENERAL(
137 L"====================================================== ==========================\nUPDATER " + 137 L"====================================================== ==========================\nUPDATER " +
138 CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + setting s->GetString(SETTING_PLUGIN_VERSION) + L")" 138 CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + setting s->GetString(SETTING_PLUGIN_VERSION) + L")"
139 L"\n==================================================== ============================") 139 L"\n==================================================== ============================")
140 } 140 }
141 141
142 // Create default filters 142 // Create default filters
143 #ifdef SUPPORT_FILTER 143 #ifdef SUPPORT_FILTER
144 DEBUG_GENERAL(L"*** Generating default filters") 144 // DEBUG_GENERAL(L"*** Generating default filters")
145 CPluginFilter::CreateFilters(); 145 // CPluginFilter::CreateFilters();
146 #endif 146 #endif
147 147
148 // Force creation of default dictionary 148 // Force creation of default dictionary
149 CPluginDictionary* dictionary = CPluginDictionary::GetInstance(true); 149 CPluginDictionary* dictionary = CPluginDictionary::GetInstance(true);
150 dictionary->Create(true); 150 dictionary->Create(true);
151 151
152 // Force creation of default config file 152 // Force creation of default config file
153 #ifdef SUPPORT_CONFIG 153 #ifdef SUPPORT_CONFIG
154 DEBUG_GENERAL("*** Generating config file") 154 DEBUG_GENERAL("*** Generating config file")
155 CPluginConfig* config = CPluginConfig::GetInstance(); 155 CPluginConfig* config = CPluginConfig::GetInstance();
(...skipping 17 matching lines...) Expand all
173 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp) 173 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp)
174 { 174 {
175 InitPlugin(true); 175 InitPlugin(true);
176 } 176 }
177 177
178 // Called from updater 178 // Called from updater
179 EXTERN_C void STDAPICALLTYPE OnUpdate(void) 179 EXTERN_C void STDAPICALLTYPE OnUpdate(void)
180 { 180 {
181 InitPlugin(false); 181 InitPlugin(false);
182 } 182 }
OLDNEW
« no previous file with comments | « Shared/Config.h ('k') | Shared/PluginClass.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld