summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics/metrics_service.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-02 20:50:39 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-02 20:50:39 +0000
commit40bcc30cf1b2f48a0d371c8e11220d3b5e7b850b (patch)
tree4cedafb7edbc2670a858446f5acbded0febf6d71 /chrome/browser/metrics/metrics_service.cc
parent8718a105c71a6b81fb1383960dc6df8423201901 (diff)
downloadchromium_src-40bcc30cf1b2f48a0d371c8e11220d3b5e7b850b.zip
chromium_src-40bcc30cf1b2f48a0d371c8e11220d3b5e7b850b.tar.gz
chromium_src-40bcc30cf1b2f48a0d371c8e11220d3b5e7b850b.tar.bz2
Fix compilations errors introduced by revision 10712.
TBR=deanm Review URL: http://codereview.chromium.org/27347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics/metrics_service.cc')
-rw-r--r--chrome/browser/metrics/metrics_service.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index 5b41058..e081bd9 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -155,12 +155,13 @@
//
//------------------------------------------------------------------------------
+#include "chrome/browser/metrics/metrics_service.h"
+
#if defined(OS_WIN)
#include <windows.h>
+#include <objbase.h>
#endif
-#include "chrome/browser/metrics/metrics_service.h"
-
#include "base/file_path.h"
#include "base/histogram.h"
#include "base/path_service.h"
@@ -374,8 +375,8 @@ MetricsService::MetricsService()
current_log_(NULL),
idle_since_last_transmission_(false),
next_window_id_(0),
- log_sender_factory_(this),
- state_saver_factory_(this),
+ ALLOW_THIS_IN_INITIALIZER_LIST(log_sender_factory_(this)),
+ ALLOW_THIS_IN_INITIALIZER_LIST(state_saver_factory_(this)),
logged_samples_(),
interlog_duration_(TimeDelta::FromSeconds(kInitialInterlogDuration)),
log_event_limit_(kInitialEventLimit),