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

Side by Side Diff: src/plugin/AdblockPlusDomTraverser.h

Issue 29332057: Issue #1234 - Replace CString in the traverser (Closed)
Patch Set: rebase Created Dec. 14, 2015, 11:56 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
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
(...skipping 28 matching lines...) Expand all
39 39
40 class CPluginDomTraverser : public CPluginDomTraverserBase<CPluginDomTraverserCa che> 40 class CPluginDomTraverser : public CPluginDomTraverserBase<CPluginDomTraverserCa che>
41 { 41 {
42 42
43 public: 43 public:
44 44
45 CPluginDomTraverser(CPluginTab* tab); 45 CPluginDomTraverser(CPluginTab* tab);
46 46
47 protected: 47 protected:
48 48
49 bool OnIFrame(IHTMLElement* pEl, const std::wstring& url, CString& indent); 49 bool OnIFrame(IHTMLElement* pEl, const std::wstring& url, const std::wstring& indent);
50 bool OnElement(IHTMLElement* pEl, const CString& tag, CPluginDomTraverserCache * cache, bool isDebug, CString& indent); 50 bool OnElement(IHTMLElement* pEl, const std::wstring& tag, CPluginDomTraverser Cache* cache, bool isDebug, const std::wstring& indent);
51 51
52 bool IsEnabled(); 52 bool IsEnabled();
53 53
54 void HideElement(IHTMLElement* pEl, const CString& type, const std::wstring& u rl, bool isDebug, CString& indent); 54 void HideElement(IHTMLElement* pEl, const std::wstring& type, const std::wstri ng& url, bool isDebug, const std::wstring& indent);
55 55
56 }; 56 };
57 57
58 58
59 #endif // _ADBLOCK_PLUS_DOM_TRAVERSER_H_ 59 #endif // _ADBLOCK_PLUS_DOM_TRAVERSER_H_
OLDNEW
« no previous file with comments | « no previous file | src/plugin/AdblockPlusDomTraverser.cpp » ('j') | src/plugin/AdblockPlusDomTraverser.cpp » ('J')

Powered by Google App Engine
This is Rietveld