| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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. | |
| 4 | |
| 5 #include "ios/web/public/user_metrics.h" | |
| 6 | |
| 7 #include <vector> | |
| 8 | |
| 9 #include "base/bind.h" | |
| 10 #include "base/location.h" | |
| 11 #include "base/metrics/user_metrics.h" | |
| 12 #include "ios/web/public/web_thread.h" | |
| 13 | |
| 14 namespace web { | |
| 15 | |
| 16 // TODO(beaudoin): Get rid of these methods now that the base:: version does | |
| 17 // thread hopping. Tracked in crbug.com/601483. | |
| 18 void RecordAction(const base::UserMetricsAction& action) { | |
| 19 base::RecordAction(action); | |
| 20 } | |
| 21 | |
| 22 void RecordComputedAction(const std::string& action) { | |
| 23 base::RecordComputedAction(action); | |
| 24 } | |
| 25 | |
| 26 } // namespace web | |
| OLD | NEW |