| Index: chrome/browser/metrics/chrome_metrics_service_client.h
|
| diff --git a/chrome/browser/metrics/chrome_metrics_service_client.h b/chrome/browser/metrics/chrome_metrics_service_client.h
|
| index ee879a5b65efa9768b768de5342327046f544a34..62de8c341c31d6e61644867376f98e09be1926ed 100644
|
| --- a/chrome/browser/metrics/chrome_metrics_service_client.h
|
| +++ b/chrome/browser/metrics/chrome_metrics_service_client.h
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/metrics/metrics_memory_details.h"
|
| #include "components/metrics/metrics_service_client.h"
|
| #include "components/metrics/profiler/tracking_synchronizer_observer.h"
|
| +#include "components/omnibox/browser/omnibox_event_global_tracker.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
|
|
| @@ -127,6 +128,13 @@ class ChromeMetricsServiceClient
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) override;
|
|
|
| + // Called when a URL is opened from the Omnibox.
|
| + void OnURLOpenedFromOmnibox(OmniboxLog* log);
|
| +
|
| + // Triggered on detection that the application has entered into a non-idle
|
| + // state.
|
| + void OnApplicationNotIdle();
|
| +
|
| #if defined(OS_WIN)
|
| // Counts (and removes) the browser crash dump attempt signals left behind by
|
| // any previous browser processes which generated a crash dump.
|
| @@ -194,6 +202,11 @@ class ChromeMetricsServiceClient
|
| base::ScopedPtrMap<int, scoped_ptr<ProcessResourceUsage>>
|
| host_resource_usage_map_;
|
|
|
| + // Subscription for receiving callbacks that a URL was opened from the
|
| + // omnibox.
|
| + scoped_ptr<base::CallbackList<void(OmniboxLog*)>::Subscription>
|
| + omnibox_url_opened_subscription_;
|
| +
|
| base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
|
|
|