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

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

Issue 887803002: Provide original URLs for next page detection in dom_distiller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « third_party/dom_distiller_js/package/proto/dom_distiller.proto ('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 28904f0bdc116ab79def68f87e8d4e4b316a6fc3..b40cf062e2ea4a45f1f927b02fa14757a727a5b8 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
@@ -744,7 +744,7 @@ namespace dom_distiller {
if (!dict->GetString("3", &field_value)) {
goto error;
}
- message->set_original_domain(field_value);
+ message->set_original_url(field_value);
}
return true;
@@ -760,8 +760,8 @@ namespace dom_distiller {
if (message.has_debug_level()) {
dict->SetInteger("2", message.debug_level());
}
- if (message.has_original_domain()) {
- dict->SetString("3", message.original_domain());
+ if (message.has_original_url()) {
+ dict->SetString("3", message.original_url());
}
return dict.Pass();
}
« no previous file with comments | « third_party/dom_distiller_js/package/proto/dom_distiller.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698