| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // The defaults are scoped by action, then type, then url prefix. | 49 // The defaults are scoped by action, then type, then url prefix. |
| 50 // | 50 // |
| 51 class WebIntentsTable : public WebDatabaseTable { | 51 class WebIntentsTable : public WebDatabaseTable { |
| 52 public: | 52 public: |
| 53 WebIntentsTable(sql::Connection* db, sql::MetaTable* meta_table); | 53 WebIntentsTable(sql::Connection* db, sql::MetaTable* meta_table); |
| 54 virtual ~WebIntentsTable(); | 54 virtual ~WebIntentsTable(); |
| 55 | 55 |
| 56 // WebDatabaseTable implementation. | 56 // WebDatabaseTable implementation. |
| 57 virtual bool Init() OVERRIDE; | 57 virtual bool Init() OVERRIDE; |
| 58 virtual bool IsSyncable() OVERRIDE; | 58 virtual bool IsSyncable() OVERRIDE; |
| 59 virtual bool MigrateToVersion(int version, |
| 60 const std::string& app_locale, |
| 61 bool* update_compatible_version) OVERRIDE; |
| 59 | 62 |
| 60 // Adds "scheme" column to the web_intents and web_intents_defaults tables. | 63 // Adds "scheme" column to the web_intents and web_intents_defaults tables. |
| 61 bool MigrateToVersion46AddSchemeColumn(); | 64 bool MigrateToVersion46AddSchemeColumn(); |
| 62 | 65 |
| 63 private: | 66 private: |
| 64 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); | 67 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); |
| 65 }; | 68 }; |
| 66 | 69 |
| 67 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ | 70 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
| OLD | NEW |