| 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 f02c1edff715e2d3d7fcba0a11d86d58f650e474..4ab82347ec4fdd8681a65f38c81013444de5f24f 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
|
| @@ -174,6 +174,13 @@ namespace dom_distiller {
|
| }
|
| message.set_extract_text_only(field_value);
|
| }
|
| + if (dict->HasKey("2")) {
|
| + int field_value;
|
| + if (!dict->GetInteger("2", &field_value)) {
|
| + goto error;
|
| + }
|
| + message.set_debug_level(field_value);
|
| + }
|
| return message;
|
|
|
| error:
|
| @@ -185,6 +192,9 @@ namespace dom_distiller {
|
| if (message.has_extract_text_only()) {
|
| dict->SetBoolean("1", message.extract_text_only());
|
| }
|
| + if (message.has_debug_level()) {
|
| + dict->SetInteger("2", message.debug_level());
|
| + }
|
| return dict.PassAs<base::Value>();
|
| }
|
| };
|
|
|