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

Unified Diff: chrome/common/content_settings_pattern_serializer.h

Issue 2614033004: Convert SetContentSettingRules to use mojo, part 2/2. (Closed)
Patch Set: Convert SetContentSettingRules to use mojo, part 2/2. Created 3 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/common_param_traits_macros.h ('k') | chrome/common/content_settings_pattern_serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 4b45043ff92d19c4d77ba542cf4357a4f67ce0e0..0000000000000000000000000000000000000000
--- a/chrome/common/content_settings_pattern_serializer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_CONTENT_SETTINGS_PATTERN_SERIALIZER_H_
-#define CHROME_COMMON_CONTENT_SETTINGS_PATTERN_SERIALIZER_H_
-
-#include "base/macros.h"
-
-namespace base {
-class Pickle;
-class PickleIterator;
-class PickleSizer;
-}
-
-class ContentSettingsPattern;
-
-// TODO(nigeltao): delete this class, once content settings is Mojofied.
-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);
- // Deserializes the pattern from the IPC message.
- static bool ReadFromMessage(const base::Pickle* m,
- base::PickleIterator* iter,
- ContentSettingsPattern* pattern);
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingsPatternSerializer);
-};
-
-#endif // CHROME_COMMON_CONTENT_SETTINGS_PATTERN_SERIALIZER_H_
« no previous file with comments | « chrome/common/common_param_traits_macros.h ('k') | chrome/common/content_settings_pattern_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698