Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / content / public / browser / user_metrics.h
blob118d8a93ae3a81cb8d5cc2924cd8ff2553e0c20a
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_USER_METRICS_H_
6 #define CONTENT_PUBLIC_BROWSER_USER_METRICS_H_
8 #include <string>
10 #include "base/callback.h"
11 #include "base/metrics/user_metrics_action.h"
12 #include "content/common/content_export.h"
14 namespace content {
16 // Wrappers around functions defined in base/metrics/user_metrics.h, refer to
17 // that header for full documentation. These wrappers can be called from any
18 // thread (they will post back to the UI thread to do the recording).
20 CONTENT_EXPORT void RecordAction(const base::UserMetricsAction& action);
21 CONTENT_EXPORT void RecordComputedAction(const std::string& action);
23 } // namespace content
25 #endif // CONTENT_PUBLIC_BROWSER_USER_METRICS_H_