| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEBDATA_KEYWORD_TABLE_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_KEYWORD_TABLE_H_ |
| 6 #define CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_KEYWORD_TABLE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "components/search_engines/template_url_id.h" | 14 #include "components/search_engines/template_url_id.h" |
| 15 #include "components/webdata/common/web_database_table.h" | 15 #include "components/webdata/common/web_database_table.h" |
| 16 | 16 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 const std::string& table_name, | 175 const std::string& table_name, |
| 176 std::string* result); | 176 std::string* result); |
| 177 | 177 |
| 178 // Migrates table |name| (which should be either "keywords" or | 178 // Migrates table |name| (which should be either "keywords" or |
| 179 // "keywords_backup") from version 44 to version 45. | 179 // "keywords_backup") from version 44 to version 45. |
| 180 bool MigrateKeywordsTableForVersion45(const std::string& name); | 180 bool MigrateKeywordsTableForVersion45(const std::string& name); |
| 181 | 181 |
| 182 DISALLOW_COPY_AND_ASSIGN(KeywordTable); | 182 DISALLOW_COPY_AND_ASSIGN(KeywordTable); |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 #endif // CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ | 185 #endif // COMPONENTS_SEARCH_ENGINES_KEYWORD_TABLE_H_ |
| OLD | NEW |