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

Unified Diff: ui/app_list/search/term_break_iterator.h

Issue 522683003: Move basic string operations to ui/app_list/search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/search/term_break_iterator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search/term_break_iterator.h
diff --git a/chrome/browser/ui/app_list/search/term_break_iterator.h b/ui/app_list/search/term_break_iterator.h
similarity index 87%
rename from chrome/browser/ui/app_list/search/term_break_iterator.h
rename to ui/app_list/search/term_break_iterator.h
index 303d0e3193b3906b6e8f7aef0da9bcfff850eab5..ba9040bc2a5d203c14fe68176aa837b61468d00b 100644
--- a/chrome/browser/ui/app_list/search/term_break_iterator.h
+++ b/ui/app_list/search/term_break_iterator.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
-#define CHROME_BROWSER_UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
+#ifndef UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
+#define UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
+#include "ui/app_list/app_list_export.h"
namespace base {
namespace i18n {
@@ -23,7 +24,7 @@ namespace app_list {
// e.g.
// CamelCase -> Camel, Case
// Python2.7 -> Python, 2.7
-class TermBreakIterator {
+class APP_LIST_EXPORT TermBreakIterator {
public:
// Note that |word| must out live this iterator.
explicit TermBreakIterator(const base::string16& word);
@@ -66,4 +67,4 @@ class TermBreakIterator {
} // namespace app_list
-#endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
+#endif // UI_APP_LIST_SEARCH_TERM_BREAK_ITERATOR_H_
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/search/term_break_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698