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

Side by Side Diff: src/platform/metrics/metrics_daemon.h

Issue 1650006: Unify metrics_collection and metrics_daemon into metrics. (Closed)
Patch Set: PTAL -- further cleanup based on the ebuild cleanup. 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 unified diff | Download patch
« no previous file with comments | « src/platform/metrics/metrics_client.cc ('k') | src/platform/metrics/metrics_daemon.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 #ifndef METRICS_DAEMON_H_ 5 #ifndef METRICS_DAEMON_H_
6 #define METRICS_DAEMON_H_ 6 #define METRICS_DAEMON_H_
7 7
8 #include <dbus/dbus-glib.h> 8 #include <dbus/dbus-glib.h>
9 #include <sys/time.h> 9 #include <sys/time.h>
10 #include <time.h> 10 #include <time.h>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Array of network states of interest. 80 // Array of network states of interest.
81 static NetworkState network_states_[kNumberNetworkStates]; 81 static NetworkState network_states_[kNumberNetworkStates];
82 82
83 bool testing_; // just testing 83 bool testing_; // just testing
84 NetworkStateId network_state_id_; // id of current state 84 NetworkStateId network_state_id_; // id of current state
85 struct timeval network_state_start_; // when current state was entered 85 struct timeval network_state_start_; // when current state was entered
86 }; 86 };
87 87
88 #endif // METRICS_DAEMON_H_ 88 #endif // METRICS_DAEMON_H_
OLDNEW
« no previous file with comments | « src/platform/metrics/metrics_client.cc ('k') | src/platform/metrics/metrics_daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698