summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics/metrics_service.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 19:15:03 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 19:15:03 +0000
commitf3a1c64a4d81c412273ed567536f23c2c14813a2 (patch)
treef0ced21805b18546e879413e4f808dd4f683c534 /chrome/browser/metrics/metrics_service.h
parent2338319a9acbaecba44243740b3f01b5c408a78a (diff)
downloadchromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.zip
chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.gz
chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.bz2
Move base/values.h into the base namespace. This includes a cros DEPS roll
with a minor change to that code since libcros also uses base/values.h. BUG=88666 TEST=none Review URL: http://codereview.chromium.org/7259019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics/metrics_service.h')
-rw-r--r--chrome/browser/metrics/metrics_service.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h
index dd4118f..24e143b 100644
--- a/chrome/browser/metrics/metrics_service.h
+++ b/chrome/browser/metrics/metrics_service.h
@@ -28,14 +28,17 @@
class BookmarkModel;
class BookmarkNode;
-class DictionaryValue;
-class ListValue;
class HistogramSynchronizer;
class MetricsLogBase;
class MetricsReportingScheduler;
class PrefService;
class TemplateURLService;
+namespace base {
+class DictionaryValue;
+class ListValue;
+}
+
namespace webkit {
namespace npapi {
struct WebPluginInfo;
@@ -237,12 +240,12 @@ class MetricsService : public NotificationObserver,
void RecallUnsentLogs();
// Decode and verify written pref log data.
static MetricsService::LogRecallStatus RecallUnsentLogsHelper(
- const ListValue& list,
+ const base::ListValue& list,
std::vector<std::string>* local_list);
// Encode and write list size and checksum for perf log data.
static void StoreUnsentLogsHelper(const std::vector<std::string>& local_list,
const size_t kMaxLocalListSize,
- ListValue* list);
+ base::ListValue* list);
// Convert |pending_log_| to XML in |compressed_log_|, and compress it for
// transmission.
void PreparePendingLogText();
@@ -406,7 +409,7 @@ class MetricsService : public NotificationObserver,
// Dictionary containing all the profile specific metrics. This is set
// at creation time from the prefs.
- scoped_ptr<DictionaryValue> profile_dictionary_;
+ scoped_ptr<base::DictionaryValue> profile_dictionary_;
// The scheduler for determining when uploads should happen.
scoped_ptr<MetricsReportingScheduler> scheduler_;