OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium 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 // This file defines a service that collects information about the user | 5 // This file defines a service that collects information about the user |
6 // experience in order to help improve future versions of the app. | 6 // experience in order to help improve future versions of the app. |
7 | 7 |
8 #ifndef CHROME_BROWSER_METRICS_SERVICE_H__ | 8 #ifndef CHROME_BROWSER_METRICS_SERVICE_H__ |
9 #define CHROME_BROWSER_METRICS_SERVICE_H__ | 9 #define CHROME_BROWSER_METRICS_SERVICE_H__ |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 #include <map> | 12 #include <map> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/file_path.h" | 18 #include "base/file_path.h" |
19 #include "base/histogram.h" | 19 #include "base/histogram.h" |
20 #include "base/scoped_ptr.h" | 20 #include "base/scoped_ptr.h" |
21 #include "base/values.h" | 21 #include "base/values.h" |
22 #include "chrome/browser/metrics/metrics_log.h" | 22 #include "chrome/browser/metrics/metrics_log.h" |
23 #include "chrome/browser/url_fetcher.h" | 23 #include "chrome/browser/net/url_fetcher.h" |
24 #include "chrome/common/notification_service.h" | 24 #include "chrome/common/notification_service.h" |
25 #include "webkit/glue/webplugin.h" | 25 #include "webkit/glue/webplugin.h" |
26 | 26 |
27 class BookmarkModel; | 27 class BookmarkModel; |
28 class BookmarkNode; | 28 class BookmarkNode; |
29 class PrefService; | 29 class PrefService; |
30 class Profile; | 30 class Profile; |
31 class TemplateURLModel; | 31 class TemplateURLModel; |
32 | 32 |
33 // This is used to quickly log stats from plugin-related notifications in | 33 // This is used to quickly log stats from plugin-related notifications in |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 std::set<std::string> histograms_to_omit_; | 455 std::set<std::string> histograms_to_omit_; |
456 | 456 |
457 // Indicate that a timer for sending the next log has already been queued. | 457 // Indicate that a timer for sending the next log has already been queued. |
458 bool timer_pending_; | 458 bool timer_pending_; |
459 | 459 |
460 DISALLOW_EVIL_CONSTRUCTORS(MetricsService); | 460 DISALLOW_EVIL_CONSTRUCTORS(MetricsService); |
461 }; | 461 }; |
462 | 462 |
463 #endif // CHROME_BROWSER_METRICS_SERVICE_H__ | 463 #endif // CHROME_BROWSER_METRICS_SERVICE_H__ |
464 | 464 |
OLD | NEW |