summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/user_script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/user_script.cc')
-rw-r--r--chrome/common/extensions/user_script.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/extensions/user_script.cc b/chrome/common/extensions/user_script.cc
index 10d0b60..96f7dd4 100644
--- a/chrome/common/extensions/user_script.cc
+++ b/chrome/common/extensions/user_script.cc
@@ -84,6 +84,9 @@ void UserScript::Pickle(::Pickle* pickle) const {
// Write Greasemonkey emulation.
pickle->WriteBool(emulate_greasemonkey());
+ // Write match all frames
+ pickle->WriteBool(match_all_frames());
+
// Write globs.
std::vector<std::string>::const_iterator glob;
pickle->WriteSize(globs_.size());
@@ -130,6 +133,9 @@ void UserScript::Unpickle(const ::Pickle& pickle, void** iter) {
// Read Greasemonkey emulation.
CHECK(pickle.ReadBool(iter, &emulate_greasemonkey_));
+ // Read match all frames
+ CHECK(pickle.ReadBool(iter, &match_all_frames_));
+
// Read globs.
size_t num_globs = 0;
CHECK(pickle.ReadSize(iter, &num_globs));