This CL replaces the deprecated int* and uint* types from 'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'. BUG=chromium:401356 TEST=`FEATURES=test emerge-$BOARD metrics` Change-Id: Ie5a69edba2c8a9d5185bbc548ed70a5b121c3e3b Reviewed-on: https://chromium-review.googlesource.com/211381 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org>
25 lines
663 B
C++
25 lines
663 B
C++
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef METRICS_PERSISTENT_INTEGER_MOCK_H_
|
|
#define METRICS_PERSISTENT_INTEGER_MOCK_H_
|
|
|
|
#include <string>
|
|
|
|
#include <gmock/gmock.h>
|
|
|
|
#include "metrics/persistent_integer.h"
|
|
|
|
namespace chromeos_metrics {
|
|
|
|
class PersistentIntegerMock : public PersistentInteger {
|
|
public:
|
|
explicit PersistentIntegerMock(const std::string& name)
|
|
: PersistentInteger(name) {}
|
|
MOCK_METHOD1(Add, void(int64_t count));
|
|
};
|
|
|
|
} // namespace chromeos_metrics
|
|
|
|
#endif // METRICS_PERSISTENT_INTEGER_MOCK_H_
|