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

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

Issue 6433575100481536: Issue 1148 - ABP on chrome blocks ads but IE doesnt (Closed)
Patch Set: fix IE8 and simplify the code Created Nov. 10, 2014, 3:32 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
« src/plugin/PluginFilter.cpp ('K') | « src/plugin/PluginFilter.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #pragma once 1 #pragma once
2 #include <string> 2 #include <string>
3 3
4 class BString 4 class BString
5 { 5 {
6 public: 6 public:
7 BString(const std::wstring& value); 7 BString(const std::wstring& value);
8 ~BString(); 8 ~BString();
9 operator BSTR(); 9 operator BSTR();
10 private: 10 private:
11 BSTR value; 11 BSTR value;
12 BString(const BString&); 12 BString(const BString&);
13 BString& operator=(const BString&); 13 BString& operator=(const BString&);
14 }; 14 };
15 15
16 std::wstring HtmlFolderPath(); 16 std::wstring HtmlFolderPath();
17 std::wstring UserSettingsFileUrl(); 17 std::wstring UserSettingsFileUrl();
18 std::wstring FirstRunPageFileUrl(); 18 std::wstring FirstRunPageFileUrl();
19 std::wstring FileUrl(const std::wstring& url); 19 std::wstring FileUrl(const std::wstring& url);
20 void ReplaceString(std::wstring& input, const std::wstring placeholder, const st d::wstring replacement);
Oleksandr 2014/11/19 03:24:23 Pretty sure we still use it. Why remove this?
sergei 2014/11/19 11:53:24 Because it's from 'shared' project and it's declar
OLDNEW
« src/plugin/PluginFilter.cpp ('K') | « src/plugin/PluginFilter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld