Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: chrome/installer/util/experiment_metrics.cc

Issue 2889323004: Win 10 Inactive toast experiment metrics and storage modifications. (Closed)
Patch Set: Apply comments from 2898843002 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698