Cleanup: Remove unneeded #include from ui/base/l10n/l10n_util.h.
[chromium-blink-merge.git] / chrome / common / render_messages.cc
blobce17fa34c05387d5160474e058a9d074f7b299bc
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/common/render_messages.h"
7 namespace IPC {
9 void ParamTraits<ContentSettingsPattern>::Write(
10 Message* m, const ContentSettingsPattern& pattern) {
11 pattern.WriteToMessage(m);
14 bool ParamTraits<ContentSettingsPattern>::Read(
15 const Message* m, PickleIterator* iter, ContentSettingsPattern* pattern) {
16 return pattern->ReadFromMessage(m, iter);
19 void ParamTraits<ContentSettingsPattern>::Log(
20 const ContentSettingsPattern& p, std::string* l) {
21 l->append("<ContentSettingsPattern: ");
22 l->append(p.ToString());
23 l->append(">");
26 } // namespace IPC