OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/chromeos/drive/search_metadata.h" | 5 #include "components/drive/search_metadata.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/i18n/string_search.h" | 11 #include "base/i18n/string_search.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "components/drive/drive_api_util.h" | 15 #include "components/drive/drive_api_util.h" |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(pre))); | 326 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(pre))); |
327 highlighted_text->append("<b>"); | 327 highlighted_text->append("<b>"); |
328 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(match))); | 328 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(match))); |
329 highlighted_text->append("</b>"); | 329 highlighted_text->append("</b>"); |
330 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(post))); | 330 highlighted_text->append(net::EscapeForHTML(base::UTF16ToUTF8(post))); |
331 return true; | 331 return true; |
332 } | 332 } |
333 | 333 |
334 } // namespace internal | 334 } // namespace internal |
335 } // namespace drive | 335 } // namespace drive |
OLD | NEW |