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

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

Issue 3240007: Fix keyword table access in the same way credit_card table was just fixed. Th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | « no previous file | chrome/browser/webdata/web_database.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DATABASE_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 bool ClearAutofillEmptyValueElements(); 325 bool ClearAutofillEmptyValueElements();
326 326
327 // Insert a single AutofillEntry into the autofill/autofill_dates tables. 327 // Insert a single AutofillEntry into the autofill/autofill_dates tables.
328 bool InsertAutofillEntry(const AutofillEntry& entry); 328 bool InsertAutofillEntry(const AutofillEntry& entry);
329 329
330 bool InitKeywordsTable(); 330 bool InitKeywordsTable();
331 bool InitLoginsTable(); 331 bool InitLoginsTable();
332 bool InitAutofillTable(); 332 bool InitAutofillTable();
333 bool InitAutofillDatesTable(); 333 bool InitAutofillDatesTable();
334 bool InitAutoFillProfilesTable(); 334 bool InitAutoFillProfilesTable();
335 // Out parameter |credit_card_table_created| true if table created here. 335 bool InitCreditCardsTable();
336 bool InitCreditCardsTable(bool* table_was_created);
337 bool InitTokenServiceTable(); 336 bool InitTokenServiceTable();
338 bool InitWebAppIconsTable(); 337 bool InitWebAppIconsTable();
339 bool InitWebAppsTable(); 338 bool InitWebAppsTable();
340 339
341 void MigrateOldVersionsAsNeeded(bool credit_card_table_created); 340 void MigrateOldVersionsAsNeeded();
342 341
343 sql::Connection db_; 342 sql::Connection db_;
344 sql::MetaTable meta_table_; 343 sql::MetaTable meta_table_;
345 344
346 scoped_ptr<NotificationService> notification_service_; 345 scoped_ptr<NotificationService> notification_service_;
347 346
348 DISALLOW_COPY_AND_ASSIGN(WebDatabase); 347 DISALLOW_COPY_AND_ASSIGN(WebDatabase);
349 }; 348 };
350 349
351 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 350 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698