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

Side by Side Diff: src/plugin/PluginTabBase.cpp

Issue 4899473029332992: Noissue - Remove dead code (Closed)
Patch Set: Created March 17, 2015, 2:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 #include "PluginStdAfx.h" 18 #include "PluginStdAfx.h"
19 19 #include "AdblockPlusClient.h"
20 #include "PluginClient.h" 20 #include "PluginClientBase.h"
21 #include "PluginSettings.h" 21 #include "PluginSettings.h"
22 #include "AdblockPlusDomTraverser.h" 22 #include "AdblockPlusDomTraverser.h"
23 #include "PluginClass.h" 23 #include "PluginClass.h"
24 #include "PluginTabBase.h" 24 #include "PluginTabBase.h"
25 #include "PluginUtil.h" 25 #include "PluginUtil.h"
26 #include "../shared/IE_version.h" 26 #include "../shared/IE_version.h"
27 #include <dispex.h> 27 #include <dispex.h>
Oleksandr 2015/03/19 04:39:32 PluginUtil.h, dispex.h, PluginClass.h can be remov
28 #include <Mshtmhst.h> 28 #include <Mshtmhst.h>
29 29
30 CPluginTabBase::CPluginTabBase(CPluginClass* plugin) 30 CPluginTabBase::CPluginTabBase(CPluginClass* plugin)
31 : m_plugin(plugin) 31 : m_plugin(plugin)
32 , m_isActivated(false) 32 , m_isActivated(false)
33 , m_continueThreadRunning(true) 33 , m_continueThreadRunning(true)
34 { 34 {
35 m_filter = std::auto_ptr<CPluginFilter>(new CPluginFilter()); 35 m_filter = std::auto_ptr<CPluginFilter>(new CPluginFilter());
36 m_filter->hideFiltersLoadedEvent = CreateEvent(NULL, true, false, NULL); 36 m_filter->hideFiltersLoadedEvent = CreateEvent(NULL, true, false, NULL);
37 37
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 LogQueue::LogPluginError(pluginError.GetErrorCode(), pluginError.GetEr rorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), true, p luginError.GetProcessId(), pluginError.GetThreadId()); 359 LogQueue::LogPluginError(pluginError.GetErrorCode(), pluginError.GetEr rorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), true, p luginError.GetProcessId(), pluginError.GetThreadId());
360 } 360 }
361 361
362 // Non-hanging sleep 362 // Non-hanging sleep
363 Sleep(50); 363 Sleep(50);
364 } 364 }
365 365
366 tabLoopIteration++; 366 tabLoopIteration++;
367 } 367 }
368 } 368 }
OLDNEW

Powered by Google App Engine
This is Rietveld