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: fix according to the comments Created Jan. 28, 2015, 1:22 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
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/shared/ContentType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ContentType.h
diff --git a/src/shared/ContentType.h b/src/shared/ContentType.h
new file mode 100644
index 0000000000000000000000000000000000000000..f49c3180d851b5fbdfc3da274a36b0baaf241c49
--- /dev/null
+++ b/src/shared/ContentType.h
@@ -0,0 +1,14 @@
+#pragma once
+#include <AdblockPlus/FilterEngine.h>
+
+
+std::string ContentTypeToString(AdblockPlus::FilterEngine::ContentType contentType);
+
+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);
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/shared/ContentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld