OLD | NEW |
| (Empty) |
1 // Copyright 2010 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 | |
16 // Declares the usage metrics used by the client module. | |
17 | |
18 #ifndef OMAHA_CLIENT_CLIENT_METRICS_H_ | |
19 #define OMAHA_CLIENT_CLIENT_METRICS_H_ | |
20 | |
21 #include "omaha/statsreport/metrics.h" | |
22 | |
23 namespace omaha { | |
24 | |
25 // How many times the install client encountered another /install process | |
26 // for the same bundle already running. | |
27 // This metric was named worker_another_install_in_progress in Omaha 2. | |
28 DECLARE_METRIC_count(client_another_install_in_progress); | |
29 | |
30 // How many times the update client encountered another /ua process already | |
31 // running. | |
32 // This metric was named worker_another_install_in_progress in Omaha 2. | |
33 DECLARE_METRIC_count(client_another_update_in_progress); | |
34 | |
35 } // namespace omaha | |
36 | |
37 #endif // OMAHA_CLIENT_CLIENT_METRICS_H_ | |
OLD | NEW |