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

Side by Side Diff: include/AdblockPlus/LogSystem.h

Issue 29527821: Issue 5556 - Update to use libadblockplus revision hg:36e9993fa36c (Closed)
Patch Set: Created Aug. 25, 2017, 6:12 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
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | include/AdblockPlus/Notification.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 /* 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-2017 eyeo GmbH 3 * Copyright (C) 2006-present 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 *
(...skipping 27 matching lines...) Expand all
41 * @param logLevel Log level. 41 * @param logLevel Log level.
42 * @param message Log message. 42 * @param message Log message.
43 * @param source Source of the message, e.g. file name and line. 43 * @param source Source of the message, e.g. file name and line.
44 * Ignored when empty. 44 * Ignored when empty.
45 */ 45 */
46 virtual void operator()(LogLevel logLevel, const std::string& message, 46 virtual void operator()(LogLevel logLevel, const std::string& message,
47 const std::string& source) = 0; 47 const std::string& source) = 0;
48 }; 48 };
49 49
50 /** 50 /**
51 * Shared smart pointer to a `LogSystem` instance. 51 * Smart pointer to a `LogSystem` instance.
52 */ 52 */
53 typedef std::shared_ptr<LogSystem> LogSystemPtr; 53 typedef std::unique_ptr<LogSystem> LogSystemPtr;
54 } 54 }
55 55
56 #endif 56 #endif
OLDNEW
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | include/AdblockPlus/Notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld