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

Unified Diff: chrome/browser/webdata/web_database.h

Issue 13191007: Pass app_locale directly to AutofillTable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome frame tests fix Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/webdata/web_data_service_unittest.cc ('k') | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_database.h
diff --git a/chrome/browser/webdata/web_database.h b/chrome/browser/webdata/web_database.h
index e186f34558ab329b69ec9a40359df391db4b76d8..578452dde2fd348044b02f09fea53b96035a357f 100644
--- a/chrome/browser/webdata/web_database.h
+++ b/chrome/browser/webdata/web_database.h
@@ -44,14 +44,11 @@ class WebDatabase {
// Initialize the database given a name. The name defines where the SQLite
// file is. If this returns an error code, no other method should be called.
- // Requires the |app_locale| to be passed as a parameter as the locale can
- // only safely be queried on the UI thread.
//
// Before calling this method, you must call AddTable for any
// WebDatabaseTable objects that are supposed to participate in
// managing the database.
- sql::InitStatus Init(
- const base::FilePath& db_name, const std::string& app_locale);
+ sql::InitStatus Init(const base::FilePath& db_name);
// Transactions management
void BeginTransaction();
@@ -62,9 +59,8 @@ class WebDatabase {
private:
// Used by |Init()| to migration database schema from older versions to
- // current version. Requires the |app_locale| to be passed as a parameter as
- // the locale can only safely be queried on the UI thread.
- sql::InitStatus MigrateOldVersionsAsNeeded(const std::string& app_locale);
+ // current version.
+ sql::InitStatus MigrateOldVersionsAsNeeded();
sql::Connection db_;
sql::MetaTable meta_table_;
« no previous file with comments | « chrome/browser/webdata/web_data_service_unittest.cc ('k') | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698