OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
13 #include "chrome/browser/autocomplete/autocomplete_provider.h" | 12 #include "chrome/browser/autocomplete/autocomplete_provider.h" |
14 #include "chrome/browser/history/shortcuts_backend.h" | 13 #include "chrome/browser/history/shortcuts_backend.h" |
15 | 14 |
16 class Profile; | 15 class Profile; |
17 | 16 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 77 |
79 static int CalculateScore( | 78 static int CalculateScore( |
80 const string16& terms, | 79 const string16& terms, |
81 const history::ShortcutsBackend::Shortcut& shortcut); | 80 const history::ShortcutsBackend::Shortcut& shortcut); |
82 | 81 |
83 std::string languages_; | 82 std::string languages_; |
84 bool initialized_; | 83 bool initialized_; |
85 }; | 84 }; |
86 | 85 |
87 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ | 86 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_PROVIDER_H_ |
OLD | NEW |