OLD | NEW |
1 package org.chromium.distiller; | 1 package org.chromium.distiller; |
2 | 2 |
3 import com.google.gwt.dom.client.Element; | 3 import com.google.gwt.dom.client.Element; |
4 import org.chromium.distiller.proto.DomDistillerProtos; | 4 import org.chromium.distiller.proto.DomDistillerProtos; |
5 | 5 |
6 public class OpenGraphProtocolParserAccessor implements MarkupParser.Accessor { | 6 public class OpenGraphProtocolParserAccessor implements MarkupParser.Accessor { |
7 | 7 |
8 private final Element mRoot; | 8 private final Element mRoot; |
9 private final DomDistillerProtos.TimingInfo mTimingInfo; | 9 private final DomDistillerProtos.TimingInfo mTimingInfo; |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 return null; | 144 return null; |
145 } | 145 } |
146 | 146 |
147 @Override | 147 @Override |
148 public boolean optOut() { | 148 public boolean optOut() { |
149 // While this is not directly supported, the page owner can | 149 // While this is not directly supported, the page owner can |
150 // simply omit the required tags and init() will return | 150 // simply omit the required tags and init() will return |
151 // a null OpenGraphProtocolParser. | 151 // a null OpenGraphProtocolParser. |
152 return false; | 152 return false; |
153 } | 153 } |
| 154 |
| 155 @Override |
| 156 public String getStructuredData() { |
| 157 return ""; |
| 158 } |
154 } | 159 } |
OLD | NEW |