blob: 118d8a93ae3a81cb8d5cc2924cd8ff2553e0c20a [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/callback.h"
#include "base/metrics/user_metrics_action.h"
#include "content/common/content_export.h"
namespace content {
// Wrappers around functions defined in base/metrics/user_metrics.h, refer to
// that header for full documentation. These wrappers can be called from any
// thread (they will post back to the UI thread to do the recording).
CONTENT_EXPORT void RecordAction(const base::UserMetricsAction& action);
CONTENT_EXPORT void RecordComputedAction(const std::string& action);
} // namespace content