OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/first_run/step.h" | 5 #include "chrome/browser/chromeos/first_run/step.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <cctype> | 9 #include <cctype> |
8 | 10 |
9 #include "ash/first_run/first_run_helper.h" | 11 #include "ash/first_run/first_run_helper.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
12 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h" | 14 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h" |
13 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
14 #include "ui/views/widget/widget.h" | 16 #include "ui/views/widget/widget.h" |
15 | 17 |
16 namespace { | 18 namespace { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 base::TimeDelta::FromMinutes(3), | 82 base::TimeDelta::FromMinutes(3), |
81 50, | 83 50, |
82 base::HistogramBase::kUmaTargetedHistogramFlag); | 84 base::HistogramBase::kUmaTargetedHistogramFlag); |
83 histogram->AddTime(base::Time::Now() - show_time_); | 85 histogram->AddTime(base::Time::Now() - show_time_); |
84 show_time_ = base::Time(); | 86 show_time_ = base::Time(); |
85 } | 87 } |
86 | 88 |
87 } // namespace first_run | 89 } // namespace first_run |
88 } // namespace chromeos | 90 } // namespace chromeos |
89 | 91 |
OLD | NEW |