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

Unified Diff: chrome/common/content_settings_pattern.h

Issue 9447084: Refactor Pickle Read methods to use higher performance PickleIterator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jar feedback Created 8 years, 10 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.h
diff --git a/chrome/common/content_settings_pattern.h b/chrome/common/content_settings_pattern.h
index d670b78760c3e489af40cfe160cb93da45ec6f55..b98f3dd013e59ce1db87b22fcb08b965c0c2ba30 100644
--- a/chrome/common/content_settings_pattern.h
+++ b/chrome/common/content_settings_pattern.h
@@ -16,6 +16,8 @@
#include "base/gtest_prod_util.h"
class GURL;
+class Pickle;
+class PickleReader;
namespace content_settings {
class PatternParser;
@@ -167,7 +169,7 @@ class ContentSettingsPattern {
// Serializes the pattern to an IPC message or deserializes it.
void WriteToMessage(IPC::Message* m) const;
- bool ReadFromMessage(const IPC::Message* m, void** iter);
+ bool ReadFromMessage(const IPC::Message* m, PickleReader* iter);
// True if this is a valid pattern.
bool IsValid() const { return is_valid_; }

Powered by Google App Engine
This is Rietveld 408576698