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

Side by Side Diff: chrome/browser/ui/omnibox/location_bar_util.h

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_LOCATION_BAR_UTIL_H_ 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_UTIL_H_
6 #define CHROME_BROWSER_LOCATION_BAR_UTIL_H_ 6 #define CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class Profile; 11 class Profile;
12 12
13 namespace location_bar_util { 13 namespace location_bar_util {
14 14
15 // Returns the short name for a keyword. 15 // Returns the short name for a keyword.
16 std::wstring GetKeywordName(Profile* profile, const std::wstring& keyword); 16 std::wstring GetKeywordName(Profile* profile, const std::wstring& keyword);
17 17
18 // Build a short string to use in keyword-search when the field isn't 18 // Build a short string to use in keyword-search when the field isn't
19 // very big. 19 // very big.
20 std::wstring CalculateMinString(const std::wstring& description); 20 std::wstring CalculateMinString(const std::wstring& description);
21 21
22 } // namespace location_bar_util 22 } // namespace location_bar_util
23 23
24 #endif // CHROME_BROWSER_LOCATION_BAR_UTIL_H_ 24 #endif // CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/location_bar.h ('k') | chrome/browser/ui/omnibox/location_bar_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698