summaryrefslogtreecommitdiffstats
path: root/components/webdata/common
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-15 09:10:39 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-15 09:10:39 +0000
commit210ce0afe2a62a3d902b30bec98e31606e12132c (patch)
tree94d576b989e5ecd784ce19676bfca0aef3959399 /components/webdata/common
parent0b0032accd7d6b8034bfb7380b4c524ab286c412 (diff)
downloadchromium_src-210ce0afe2a62a3d902b30bec98e31606e12132c.zip
chromium_src-210ce0afe2a62a3d902b30bec98e31606e12132c.tar.gz
chromium_src-210ce0afe2a62a3d902b30bec98e31606e12132c.tar.bz2
Histogram versions and extended error codes for SQLite databases.
Track database versions across the fleet for purposes of making decisions about whether old migration code can be removed. As part of this, refactor histogram code to key off a per-database tag rather than histogram name, and to log in a form which can be fanned out via the field trial logic in histograms.xml [FYI michaeln from webkit/OWNERS, erikwright from {chrome,content}/net/OWNERS, sky for chrome/browser/history/OWNERS] BUG=none TBR=michaeln@chromium.org, erikwright@chromium.org, sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/14976003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/webdata/common')
-rw-r--r--components/webdata/common/web_database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/webdata/common/web_database.cc b/components/webdata/common/web_database.cc
index 82b2a74..ae4ee9f 100644
--- a/components/webdata/common/web_database.cc
+++ b/components/webdata/common/web_database.cc
@@ -75,7 +75,7 @@ sql::InitStatus WebDatabase::Init(const base::FilePath& db_name) {
if (!content::NotificationService::current())
notification_service_.reset(content::NotificationService::Create());
- db_.set_error_histogram_name("Sqlite.Web.Error");
+ db_.set_histogram_tag("Web");
// We don't store that much data in the tables so use a small page size.
// This provides a large benefit for empty tables (which is very likely with