summaryrefslogtreecommitdiffstats
path: root/content/browser/net
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 /content/browser/net
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 'content/browser/net')
-rw-r--r--content/browser/net/sqlite_persistent_cookie_store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/net/sqlite_persistent_cookie_store.cc b/content/browser/net/sqlite_persistent_cookie_store.cc
index 7295c45..ce370ba 100644
--- a/content/browser/net/sqlite_persistent_cookie_store.cc
+++ b/content/browser/net/sqlite_persistent_cookie_store.cc
@@ -596,7 +596,7 @@ bool SQLitePersistentCookieStore::Backend::InitializeDatabase() {
UMA_HISTOGRAM_COUNTS("Cookie.DBSizeInKB", db_size / 1024 );
db_.reset(new sql::Connection);
- db_->set_error_histogram_name("Sqlite.Cookie.Error");
+ db_->set_histogram_tag("Cookie");
db_->set_error_delegate(new KillDatabaseErrorDelegate(this));
if (!db_->Open(path_)) {