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

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

Issue 2889323004: Win 10 Inactive toast experiment metrics and storage modifications. (Closed)
Patch Set: Incorporate review comments Created 3 years, 6 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 bool ExperimentMetrics::InInitialState() const {
10 return state < kGroupAssigned;
11 }
12
13 bool ExperimentMetrics::InTerminalState() const {
14 return state == kSelectedNoThanks || state == kSelectedOpenChromeAndCrash ||
15 state == kSelectedOpenChromeAndNoCrash || state == kSelectedClose ||
16 state == kUserLogOff;
17 }
18
19 void ExperimentMetrics::SetState(State state) {
20 this->state = state;
21 }
22
23 } // namespace installer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698