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

Delta Between Two Patch Sets: src/shared/Communication.h

Issue 5024350814076928: Issue 1103 - Migrate Simple Adblock users
Left Patch Set: Rebased Created July 28, 2015, 9:55 a.m.
Right Patch Set: Use registry instead of prefs for storing the Simple Adblock mark Created Aug. 7, 2015, 10:34 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« src/engine/Main.cpp ('K') | « src/plugin/PluginUserSettings.cpp ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PROC_IS_ELEMHIDE_WHITELISTED_ON_URL, 45 PROC_IS_ELEMHIDE_WHITELISTED_ON_URL,
46 PROC_ADD_FILTER, 46 PROC_ADD_FILTER,
47 PROC_REMOVE_FILTER, 47 PROC_REMOVE_FILTER,
48 PROC_SET_PREF, 48 PROC_SET_PREF,
49 PROC_GET_PREF, 49 PROC_GET_PREF,
50 PROC_IS_FIRST_RUN_ACTION_NEEDED, 50 PROC_IS_FIRST_RUN_ACTION_NEEDED,
51 PROC_CHECK_FOR_UPDATES, 51 PROC_CHECK_FOR_UPDATES,
52 PROC_GET_DOCUMENTATION_LINK, 52 PROC_GET_DOCUMENTATION_LINK,
53 PROC_TOGGLE_PLUGIN_ENABLED, 53 PROC_TOGGLE_PLUGIN_ENABLED,
54 PROC_GET_HOST, 54 PROC_GET_HOST,
55 PROC_COMPARE_VERSIONS 55 PROC_COMPARE_VERSIONS,
56 PROC_GET_CONVERTED_FROM
56 }; 57 };
57 enum ValueType : uint32_t { 58 enum ValueType : uint32_t {
58 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL, TYP E_STRINGS 59 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL, TYP E_STRINGS
59 }; 60 };
60 typedef uint32_t SizeType; 61 typedef uint32_t SizeType;
61 62
62 class InputBuffer 63 class InputBuffer
63 { 64 {
64 public: 65 public:
65 InputBuffer() : buffer(), hasType(false) {} 66 InputBuffer() : buffer(), hasType(false) {}
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 239
239 InputBuffer ReadMessage(); 240 InputBuffer ReadMessage();
240 void WriteMessage(OutputBuffer& message); 241 void WriteMessage(OutputBuffer& message);
241 242
242 protected: 243 protected:
243 HANDLE pipe; 244 HANDLE pipe;
244 }; 245 };
245 } 246 }
246 247
247 #endif 248 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld