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

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

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
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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ 5 #ifndef COMPONENTS_DRIVE_SEARCH_METADATA_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ 6 #define COMPONENTS_DRIVE_SEARCH_METADATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/drive/file_system_interface.h" 10 #include "components/drive/file_system_interface.h"
11 11
12 namespace base { 12 namespace base {
13 namespace i18n { 13 namespace i18n {
14 class FixedPatternStringSearchIgnoringCaseAndAccents; 14 class FixedPatternStringSearchIgnoringCaseAndAccents;
15 } // namespace i18n 15 } // namespace i18n
16 } // namespace base 16 } // namespace base
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // is highlighted). Meta characters are escaped like &lt;. The original 55 // is highlighted). Meta characters are escaped like &lt;. The original
56 // contents of |highlighted_text| will be lost. 56 // contents of |highlighted_text| will be lost.
57 bool FindAndHighlight( 57 bool FindAndHighlight(
58 const std::string& text, 58 const std::string& text,
59 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query, 59 base::i18n::FixedPatternStringSearchIgnoringCaseAndAccents* query,
60 std::string* highlighted_text); 60 std::string* highlighted_text);
61 61
62 } // namespace internal 62 } // namespace internal
63 } // namespace drive 63 } // namespace drive
64 64
65 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SEARCH_METADATA_H_ 65 #endif // COMPONENTS_DRIVE_SEARCH_METADATA_H_
OLDNEW
« no previous file with comments | « components/drive/remove_stale_cache_files_unittest.cc ('k') | components/drive/search_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698