| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This module computes snippets of queries based on hits in the documents | 5 // This module computes snippets of queries based on hits in the documents |
| 6 // for display in history search results. | 6 // for display in history search results. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_HISTORY_SNIPPET_H__ | 8 #ifndef CHROME_BROWSER_HISTORY_SNIPPET_H__ |
| 9 #define CHROME_BROWSER_HISTORY_SNIPPET_H__ | 9 #define CHROME_BROWSER_HISTORY_SNIPPET_H__ |
| 10 | 10 |
| 11 #include <vector> | 11 #include <vector> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 // The text of the snippet. | 62 // The text of the snippet. |
| 63 string16 text_; | 63 string16 text_; |
| 64 | 64 |
| 65 // The matches within text_. | 65 // The matches within text_. |
| 66 MatchPositions matches_; | 66 MatchPositions matches_; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_HISTORY_SNIPPET_H__ | 69 #endif // CHROME_BROWSER_HISTORY_SNIPPET_H__ |
| OLD | NEW |