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

Unified Diff: third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h

Issue 664233002: Roll dom_distiller_js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « third_party/dom_distiller_js/package/js/domdistiller.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h
diff --git a/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h b/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h
index 91a0ecf0a0bf7b889de63e4fc225c4dd8ab7a67a..f4993691aba83671728fcd0dcecf0bbe73bffdef 100644
--- a/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h
+++ b/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/dom_distiller_json_converter.h
@@ -36,7 +36,7 @@ namespace dom_distiller {
if (message.has_html()) {
dict->SetString("1", message.html());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -83,7 +83,7 @@ namespace dom_distiller {
if (message.has_canonical_page()) {
dict->SetString("3", message.canonical_page());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -158,7 +158,7 @@ namespace dom_distiller {
for (int i = 0; i < message.authors_size(); ++i) {
field_list->AppendString(message.authors(i));
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -235,7 +235,7 @@ namespace dom_distiller {
if (message.has_height()) {
dict->SetInteger("6", message.height());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -358,7 +358,7 @@ namespace dom_distiller {
dom_distiller::proto::json::MarkupImage::WriteToValue(message.images(i));
field_list->Append(inner_message_value.release());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -425,7 +425,7 @@ namespace dom_distiller {
if (message.has_total_time()) {
dict->SetDouble("5", message.total_time());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -452,7 +452,7 @@ namespace dom_distiller {
if (message.has_log()) {
dict->SetString("1", message.log());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -479,7 +479,7 @@ namespace dom_distiller {
if (message.has_word_count()) {
dict->SetInteger("1", message.word_count());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -608,7 +608,7 @@ namespace dom_distiller {
dom_distiller::proto::json::StatisticsInfo::WriteToValue(message.statistics_info());
dict->Set("8", inner_message_value.release());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
@@ -645,7 +645,7 @@ namespace dom_distiller {
if (message.has_debug_level()) {
dict->SetInteger("2", message.debug_level());
}
- return dict.PassAs<base::Value>();
+ return dict.Pass();
}
};
« no previous file with comments | « third_party/dom_distiller_js/package/js/domdistiller.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698