| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2013 Google, Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 input.clear(); | 78 input.clear(); |
| 79 numberOfSegmentsAlreadyAppended = 0; | 79 numberOfSegmentsAlreadyAppended = 0; |
| 80 tokensExtractedSincePreviousCheckpoint = 0; | 80 tokensExtractedSincePreviousCheckpoint = 0; |
| 81 } | 81 } |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 SegmentedString m_current; | 84 SegmentedString m_current; |
| 85 Vector<String> m_segments; | 85 Vector<String> m_segments; |
| 86 Vector<Checkpoint> m_checkpoints; | 86 Vector<Checkpoint> m_checkpoints; |
| 87 | 87 |
| 88 // Note: These indicies may === vector.size(), in which case there are no vali
d checkpoints/segments at this time. | 88 // Note: These indicies may === vector.size(), in which case there are no |
| 89 // valid checkpoints/segments at this time. |
| 89 size_t m_firstValidCheckpointIndex; | 90 size_t m_firstValidCheckpointIndex; |
| 90 size_t m_firstValidSegmentIndex; | 91 size_t m_firstValidSegmentIndex; |
| 91 size_t m_totalCheckpointTokenCount; | 92 size_t m_totalCheckpointTokenCount; |
| 92 | 93 |
| 93 void updateTotalCheckpointTokenCount(); | 94 void updateTotalCheckpointTokenCount(); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace blink | 97 } // namespace blink |
| 97 | 98 |
| 98 #endif | 99 #endif // BackgroundHTMLInputStream_h |
| OLD | NEW |