| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 25d416efe3314d469d3409ffa2447a50172e3fe0..4854e8be7488445132874bdbc8e2a6933bf0d602 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/metrics/histogram_macros.h"
|
| +#include "base/metrics/user_metrics.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
| @@ -899,6 +900,7 @@ void ContentViewCoreImpl::SendOrientationChangeEvent(
|
| const JavaParamRef<jobject>& obj,
|
| jint orientation) {
|
| if (device_orientation_ != orientation) {
|
| + base::RecordAction(base::UserMetricsAction("ScreenOrientationChange"));
|
| device_orientation_ = orientation;
|
| SendOrientationChangeEventInternal();
|
| }
|
|
|