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

Unified Diff: src/platform/metrics/power_states.h

Issue 1863002: Add basic daily active use logging. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Address review comments. Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/metrics/metrics_daemon.cc ('k') | src/platform/metrics/screensaver_states.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics/power_states.h
diff --git a/src/platform/metrics/power_states.h b/src/platform/metrics/power_states.h
index 413085ef6843c671ed836969fd2b8056c5e57589..74fbfecdd6fb1cea23decf96071e0bf1d14bd8af 100644
--- a/src/platform/metrics/power_states.h
+++ b/src/platform/metrics/power_states.h
@@ -4,18 +4,7 @@
// A table of power states, to be included when building tabular things.
//
-// This file is used to construct two things: an enumerated type in
-// metrics_daemon.h, and a table of structures with state names in
-// metrics_daemon.cc. Including this file ensures that the two tables are
-// always in sync (and saves typing). I don't know of other ways of achieving
-// the same result in C/C++, but it doesn't mean there isn't one.
-
-// Before you include this file, define STATE to do something useful, or else
-// if will be a no-op. STATE will be undefined on exit. Don't worry about
-// collisions for the STATE macro (as long as it's a macro) because the
-// compiler will flag them---in that case, just change the name. If someone is
-// misguided enough to use STATE for something other than a macro, the error
-// messages will be slightly more complicated.
+// See network_states.h for details.
#ifndef STATE
« no previous file with comments | « src/platform/metrics/metrics_daemon.cc ('k') | src/platform/metrics/screensaver_states.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698