Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7448)

Unified Diff: chrome/common/content_settings_pattern_serializer.h

Issue 1977643002: Generate param traits size methods for IPC files in chrome/ (and traits it depends on). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/content_settings_pattern_serializer.h
diff --git a/chrome/common/content_settings_pattern_serializer.h b/chrome/common/content_settings_pattern_serializer.h
index a48591dcd10d5321371519effd353f88bbdba857..b1236074ac730dd1531f299ebf16281c4bbb6d32 100644
--- a/chrome/common/content_settings_pattern_serializer.h
+++ b/chrome/common/content_settings_pattern_serializer.h
@@ -10,12 +10,17 @@
namespace base {
class Pickle;
class PickleIterator;
+class PickleSizer;
}
class ContentSettingsPattern;
class ContentSettingsPatternSerializer {
public:
+ // Gets the serialized pattern's size.
+ static void GetSize(const ContentSettingsPattern& pattern,
+ base::PickleSizer* s);
+
// Serializes the pattern to an IPC message.
static void WriteToMessage(const ContentSettingsPattern& pattern,
base::Pickle* m);

Powered by Google App Engine
This is Rietveld 408576698