[metrics] Roll forward to new libchrome

BUG=chromium-os:14304
TEST=build, unit tests

Change-Id: I92fd96b2c14df847efe47735c0f76d99023ec254
Reviewed-on: http://gerrit.chromium.org/gerrit/819
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
This commit is contained in:
Chris Masone 2011-05-12 14:14:48 -07:00
parent 8032dd0c6f
commit 817016a81f
3 changed files with 7 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#include <time.h>
#include <base/basictypes.h>
#include <base/scoped_ptr.h>
#include <base/memory/scoped_ptr.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
class MetricsLibraryInterface;

View File

@ -123,7 +123,11 @@ class TaggedCounterTest : public testing::Test {
// Collects log messages in the |log_| member string so that they
// can be analyzed for errors and expected behavior.
static bool HandleLogMessages(int severity, const std::string& str) {
static bool HandleLogMessages(int severity,
const char* file,
int line,
size_t message_start,
const std::string& str) {
test_->log_.append(str);
test_->log_.append("\n");

View File

@ -10,7 +10,7 @@
#include <map>
#include <base/file_path.h>
#include <base/scoped_ptr.h>
#include <base/memory/scoped_ptr.h>
#include <base/time.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST