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

Side by Side Diff: Shared/Plugin.cpp

Issue 8978054: Removal of shareware parts (Closed)
Patch Set: Created Dec. 5, 2012, 7:59 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.h » ('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_SIMPLEADBLOCK) 4 #if (defined PRODUCT_SIMPLEADBLOCK)
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 settings->Remove(SETTING_PLUGIN_SELFTEST); 138 settings->Remove(SETTING_PLUGIN_SELFTEST);
139 settings->SetValue(SETTING_PLUGIN_INFO_PANEL, isInstall ? 1 : 2); 139 settings->SetValue(SETTING_PLUGIN_INFO_PANEL, isInstall ? 1 : 2);
140 140
141 if (!pluginId.IsEmpty()) 141 if (!pluginId.IsEmpty())
142 { 142 {
143 system->SetPluginId(pluginId); 143 system->SetPluginId(pluginId);
144 settings->SetString(SETTING_PLUGIN_ID, pluginId); 144 settings->SetString(SETTING_PLUGIN_ID, pluginId);
145 } 145 }
146 146
147 settings->SetValue(SETTING_PLUGIN_ADBLOCKCOUNT, 0);
148 settings->Write(); 147 settings->Write();
149 148
150 if (isInstall) 149 if (isInstall)
151 { 150 {
152 DEBUG_GENERAL( 151 DEBUG_GENERAL(
153 L"====================================================== ==========================\nINSTALLER " + 152 L"====================================================== ==========================\nINSTALLER " +
154 CString(IEPLUGIN_VERSION) + 153 CString(IEPLUGIN_VERSION) +
155 L"\n==================================================== ============================") 154 L"\n==================================================== ============================")
156 } 155 }
157 else 156 else
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 225
227 InitPlugin(true, pluginId); 226 InitPlugin(true, pluginId);
228 } 227 }
229 228
230 // Called from updater 229 // Called from updater
231 EXTERN_C void STDAPICALLTYPE OnUpdate(void) 230 EXTERN_C void STDAPICALLTYPE OnUpdate(void)
232 { 231 {
233 CString tmp; 232 CString tmp;
234 InitPlugin(false, tmp); 233 InitPlugin(false, tmp);
235 } 234 }
OLDNEW
« no previous file with comments | « Shared/Config.h ('k') | Shared/PluginClass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld