OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 "chrome/installer/util/experiment_metrics.h" | |
6 | |
7 namespace installer { | |
8 | |
9 // static | |
grt (UTC plus 2)
2017/05/24 13:43:38
not static
nikunjb
2017/05/30 21:45:01
Done.
| |
10 bool ExperimentMetrics::InInitialState() const { | |
11 return state < kGroupAssigned; | |
12 } | |
13 | |
14 bool ExperimentMetrics::InTerminalState() const { | |
15 return state == kSelectedNoThanks || state == kSelectedOpenChromeAndCrash || | |
16 state == kSelectedOpenChromeAndNoCrash || state == kSelectedClose || | |
17 state == kUserLogOff; | |
18 } | |
19 | |
20 void ExperimentMetrics::SetState(State state) { | |
21 this->state = state; | |
22 } | |
23 | |
24 } // namespace installer | |
OLD | NEW |