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

Unified Diff: chrome/common/content_settings_pattern_serializer.cc

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more mac fix Created 4 years, 11 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
« no previous file with comments | « chrome/common/content_settings_pattern_serializer.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/content_settings_pattern_serializer.cc
diff --git a/chrome/common/content_settings_pattern_serializer.cc b/chrome/common/content_settings_pattern_serializer.cc
index af36d567153c5e72476de951c572f100c15c50ff..2e1ba34783a022c72bd8208b095eeeddfacf027f 100644
--- a/chrome/common/content_settings_pattern_serializer.cc
+++ b/chrome/common/content_settings_pattern_serializer.cc
@@ -10,14 +10,14 @@
// static
void ContentSettingsPatternSerializer::WriteToMessage(
const ContentSettingsPattern& pattern,
- IPC::Message* m) {
+ base::Pickle* m) {
IPC::WriteParam(m, pattern.is_valid_);
IPC::WriteParam(m, pattern.parts_);
}
// static
bool ContentSettingsPatternSerializer::ReadFromMessage(
- const IPC::Message* m,
+ const base::Pickle* m,
base::PickleIterator* iter,
ContentSettingsPattern* pattern) {
DCHECK(pattern);
« no previous file with comments | « chrome/common/content_settings_pattern_serializer.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698