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

Unified Diff: src/shared/ContentType.h

Issue 5316782940225536: Issue 1557 - Update to the recent libadblockplus to reduce additional updates in the logic later. (Closed)
Patch Set: link addon with libadblockplus Created Jan. 29, 2015, 4:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/shared/ContentType.h
diff --git a/src/shared/ContentType.h b/src/shared/ContentType.h
new file mode 100644
index 0000000000000000000000000000000000000000..30615a40b3f7713fb6f6195108a5406ddd608049
--- /dev/null
+++ b/src/shared/ContentType.h
@@ -0,0 +1,11 @@
+#pragma once
+#include <AdblockPlus/FilterEngine.h>
+
+namespace Communication
+{
+ class InputBuffer;
+ class OutputBuffer;
+}
+
+Communication::InputBuffer& operator>>(Communication::InputBuffer& in, AdblockPlus::FilterEngine::ContentType& contentType);
+Communication::OutputBuffer& operator<<(Communication::OutputBuffer& out, AdblockPlus::FilterEngine::ContentType contentType);

Powered by Google App Engine
This is Rietveld