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

Delta Between Two Patch Sets: src/plugin/PluginUtil.cpp

Issue 4899473029332992: Noissue - Remove dead code (Closed)
Left Patch Set: Created March 17, 2015, 2:35 p.m.
Right Patch Set: remove more #include directives Created March 20, 2015, 9:05 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginUtil.h ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 #include "PluginUtil.h"
19 #include "../shared/Utils.h" 20 #include "../shared/Utils.h"
20 #include <memory> 21 #include <memory>
21 #include <algorithm>
Oleksandr 2015/03/19 04:39:32 algorithm, stdexcept, vector, shlwapi.h, PluginSet
22 #include <stdexcept>
23 #include <vector>
24 #include <WinInet.h> 22 #include <WinInet.h>
25 #include <shlwapi.h>
26 #include "PluginUtil.h"
27 #include "PluginSettings.h"
28 23
29 std::wstring HtmlFolderPath() 24 std::wstring HtmlFolderPath()
30 { 25 {
31 return GetDllDir() + L"html\\templates\\"; 26 return GetDllDir() + L"html\\templates\\";
32 } 27 }
33 28
34 std::wstring UserSettingsFileUrl() 29 std::wstring UserSettingsFileUrl()
35 { 30 {
36 return FileUrl(HtmlFolderPath() + L"index.html"); 31 return FileUrl(HtmlFolderPath() + L"index.html");
37 } 32 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 /* 73 /*
79 * When the code has a systematic way of handling bad_alloc, we'll rethrow ( probably). 74 * When the code has a systematic way of handling bad_alloc, we'll rethrow ( probably).
80 * Until then, we mask the exception and make no modification. 75 * Until then, we mask the exception and make no modification.
81 */ 76 */
82 } 77 }
83 catch(...) 78 catch(...)
84 { 79 {
85 // no modification if any other exception 80 // no modification if any other exception
86 } 81 }
87 } 82 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld