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_WEBDATA_WEB_INTENTS_TABLE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
6 #define CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ | 6 #define CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 virtual ~WebIntentsTable(); | 55 virtual ~WebIntentsTable(); |
56 | 56 |
57 // Retrieves the WebIntentsTable* owned by |database|. | 57 // Retrieves the WebIntentsTable* owned by |database|. |
58 static WebIntentsTable* FromWebDatabase(WebDatabase* database); | 58 static WebIntentsTable* FromWebDatabase(WebDatabase* database); |
59 | 59 |
60 // WebDatabaseTable implementation. | 60 // WebDatabaseTable implementation. |
61 virtual WebDatabaseTable::TypeKey GetTypeKey() const OVERRIDE; | 61 virtual WebDatabaseTable::TypeKey GetTypeKey() const OVERRIDE; |
62 virtual bool Init(sql::Connection* db, sql::MetaTable* meta_table) OVERRIDE; | 62 virtual bool Init(sql::Connection* db, sql::MetaTable* meta_table) OVERRIDE; |
63 virtual bool IsSyncable() OVERRIDE; | 63 virtual bool IsSyncable() OVERRIDE; |
64 virtual bool MigrateToVersion(int version, | 64 virtual bool MigrateToVersion(int version, |
65 const std::string& app_locale, | |
66 bool* update_compatible_version) OVERRIDE; | 65 bool* update_compatible_version) OVERRIDE; |
67 | 66 |
68 // Adds "scheme" column to the web_intents and web_intents_defaults tables. | 67 // Adds "scheme" column to the web_intents and web_intents_defaults tables. |
69 bool MigrateToVersion46AddSchemeColumn(); | 68 bool MigrateToVersion46AddSchemeColumn(); |
70 | 69 |
71 private: | 70 private: |
72 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); | 71 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); |
73 }; | 72 }; |
74 | 73 |
75 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ | 74 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
OLD | NEW |