Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: components/drive/search_metadata.cc

Issue 1314803004: Move chrome/browser/chromeos/drive/file_system.cc (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/drive/search_metadata.h ('k') | components/drive/search_metadata_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/drive/search_metadata.h ('k') | components/drive/search_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698