This makes the import path less confusing: * metrics/metrics_library.h is imported from the exported headers. * metricsd/* for includes by the metrics daemon itself. BUG: 22879597 Change-Id: I9f44ea3a548cae39d4546fcd724e8007f6dd4bd0
25 lines
655 B
C++
25 lines
655 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 "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_
|