Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/browser/webdata/web_intents_table.h

Issue 207643002: Create new Autofill tables as part of DB migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/webdata/web_apps_table.cc ('k') | chrome/browser/webdata/web_intents_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class WebIntentsTable : public WebDatabaseTable { 52 class WebIntentsTable : public WebDatabaseTable {
53 public: 53 public:
54 WebIntentsTable(); 54 WebIntentsTable();
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 CreateTablesIfNecessary() OVERRIDE;
63 virtual bool IsSyncable() OVERRIDE; 63 virtual bool IsSyncable() OVERRIDE;
64 virtual bool MigrateToVersion(int version, 64 virtual bool MigrateToVersion(int version,
65 bool* update_compatible_version) OVERRIDE; 65 bool* update_compatible_version) OVERRIDE;
66 66
67 // 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.
68 bool MigrateToVersion46AddSchemeColumn(); 68 bool MigrateToVersion46AddSchemeColumn();
69 69
70 private: 70 private:
71 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); 71 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ 74 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_apps_table.cc ('k') | chrome/browser/webdata/web_intents_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698