| Index: chrome/browser/history/shortcuts_database.h
|
| diff --git a/chrome/browser/history/shortcuts_database.h b/chrome/browser/history/shortcuts_database.h
|
| index 2dd340853ed48308d977918970038915d408b795..5a54d5fa2a42b93da957381ba055db79ba9e7ff2 100644
|
| --- a/chrome/browser/history/shortcuts_database.h
|
| +++ b/chrome/browser/history/shortcuts_database.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string16.h"
|
| #include "chrome/browser/history/shortcuts_backend.h"
|
| #include "sql/connection.h"
|
| +#include "sql/meta_table.h"
|
| #include "url/gurl.h"
|
|
|
| namespace history {
|
| @@ -63,6 +64,9 @@ class ShortcutsDatabase : public base::RefCountedThreadSafe<ShortcutsDatabase> {
|
| // Loads all of the shortcuts.
|
| void LoadShortcuts(GuidToShortcutMap* shortcuts);
|
|
|
| + // Returns the current version that we will generate shortcut tables with.
|
| + static int GetCurrentVersion();
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<ShortcutsDatabase>;
|
| friend class ShortcutsDatabaseTest;
|
| @@ -81,6 +85,8 @@ class ShortcutsDatabase : public base::RefCountedThreadSafe<ShortcutsDatabase> {
|
| sql::Connection db_;
|
| base::FilePath database_path_;
|
|
|
| + sql::MetaTable meta_table_;
|
| +
|
| static const base::FilePath::CharType kShortcutsDatabaseName[];
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShortcutsDatabase);
|
|
|