| /* |
| * Copyright 2012 Google Inc. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // Author: rahulbansal@google.com (Rahul Bansal) |
| // |
| // Proto representing critical line information. |
| |
| syntax = "proto2"; |
| |
| option optimize_for = LITE_RUNTIME; |
| |
| package net_instaweb; |
| |
| // Protobuf to encapsulate the information use by blink flow. |
| // Next id = 4 |
| message CriticalLineInfo { |
| // Panels that are below the critical line. |
| repeated Panel panels = 1; |
| // Deleted fields 2 and 3. |
| } |
| |
| message Panel { |
| // XPath identifying the start instance tag for the panel. |
| required string start_xpath = 1; |
| // XPath identifying the marker beyond instances of this panel. |
| // The marker can be text/comment/tag |
| // The marker is not part of the panel. |
| optional string end_marker_xpath = 2; |
| }; |