diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 04:38:38 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 04:38:38 +0000 |
commit | 835d7c811c98f179090c57a827a9c9baa2130435 (patch) | |
tree | edcff6b2c9029c6f867f650d762837f2485d99fb /chrome/browser/safe_browsing | |
parent | 4b1deac7ba7e7a6bf0425e6ed4db26e0c29daa7f (diff) | |
download | chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.zip chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.tar.gz chromium_src-835d7c811c98f179090c57a827a9c9baa2130435.tar.bz2 |
Move Stats, histograms, and field trial into a metrics subdirectory of base and
put them in the base namespace.
TEST=it compiles
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing')
7 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc index 52ccbace..d7ba1a8 100644 --- a/chrome/browser/safe_browsing/protocol_manager.cc +++ b/chrome/browser/safe_browsing/protocol_manager.cc @@ -8,8 +8,8 @@ #include "base/base64.h" #endif #include "base/environment.h" -#include "base/histogram.h" #include "base/logging.h" +#include "base/metrics/histogram.h" #include "base/rand_util.h" #include "base/stl_util-inl.h" #include "base/string_util.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database.cc b/chrome/browser/safe_browsing/safe_browsing_database.cc index 72d2554..df76d47 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database.cc @@ -6,12 +6,12 @@ #include "base/command_line.h" #include "base/file_util.h" -#include "base/histogram.h" +#include "base/metrics/histogram.h" +#include "base/metrics/stats_counters.h" #include "base/time.h" #include "base/message_loop.h" #include "base/process_util.h" #include "base/sha2.h" -#include "base/stats_counters.h" #include "chrome/browser/safe_browsing/bloom_filter.h" #include "chrome/browser/safe_browsing/safe_browsing_database_bloom.h" #include "chrome/browser/safe_browsing/safe_browsing_store_file.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc index 0c636ef..36a03c0 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc @@ -6,11 +6,11 @@ #include "base/auto_reset.h" #include "base/file_util.h" -#include "base/histogram.h" +#include "base/metrics/histogram.h" #include "base/message_loop.h" +#include "base/metrics/stats_counters.h" #include "base/process_util.h" #include "base/sha2.h" -#include "base/stats_counters.h" #include "base/string_util.h" #include "chrome/browser/safe_browsing/bloom_filter.h" #include "chrome/common/sqlite_compiled_statement.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_bloom_unittest.cc index 4359cc5..2032efd 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom_unittest.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom_unittest.cc @@ -11,11 +11,11 @@ #include "base/format_macros.h" #include "base/logging.h" #include "base/message_loop.h" +#include "base/metrics/stats_counters.h" #include "base/path_service.h" #include "base/process_util.h" #include "base/scoped_temp_dir.h" #include "base/sha2.h" -#include "base/stats_counters.h" #include "base/string_util.h" #include "base/time.h" #include "chrome/browser/safe_browsing/protocol_parser.h" @@ -1093,7 +1093,7 @@ TEST_F(SafeBrowsingDatabaseBloomTest, DISABLED_SqliteCorruptionHandling) { namespace { void PrintStat(const char* name) { - int value = StatsTable::current()->GetCounterValue(name); + int value = base::StatsTable::current()->GetCounterValue(name); SB_DLOG(INFO) << StringPrintf("%s %d", name, value); } diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc index d381d55..6407e53 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc @@ -10,11 +10,11 @@ #include "base/format_macros.h" #include "base/logging.h" #include "base/message_loop.h" +#include "base/metrics/stats_counters.h" #include "base/path_service.h" #include "base/process_util.h" #include "base/scoped_temp_dir.h" #include "base/sha2.h" -#include "base/stats_counters.h" #include "base/string_util.h" #include "base/time.h" #include "chrome/browser/safe_browsing/protocol_parser.h" @@ -1168,7 +1168,7 @@ TEST_F(SafeBrowsingDatabaseTest, DISABLED_FileCorruptionHandling) { namespace { void PrintStat(const char* name) { - int value = StatsTable::current()->GetCounterValue(name); + int value = base::StatsTable::current()->GetCounterValue(name); SB_DLOG(INFO) << StringPrintf("%s %d", name, value); } diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.cc b/chrome/browser/safe_browsing/safe_browsing_store_file.cc index a5cec62..196cf0d 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_file.cc +++ b/chrome/browser/safe_browsing/safe_browsing_store_file.cc @@ -5,7 +5,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_store_file.h" #include "base/callback.h" -#include "base/histogram.h" +#include "base/metrics/histogram.h" #include "base/md5.h" // TODO(shess): Remove after migration. diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc index 486d6f2..8deeff4 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc @@ -8,7 +8,7 @@ #include "base/callback.h" #include "base/file_util.h" -#include "base/histogram.h" +#include "base/metrics/histogram.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/common/sqlite_compiled_statement.h" |