Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM
[chromium-blink-merge.git] / chrome / browser / metrics / chrome_browser_main_extra_parts_metrics.h
blob0e4fdbb9efc7aaad7612cd469ab0ee18e957b360
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_H_
6 #define CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13 class ChromeBrowserMainParts;
15 namespace chrome {
16 void AddMetricsExtraParts(ChromeBrowserMainParts* main_parts);
19 class ChromeBrowserMainExtraPartsMetrics : public ChromeBrowserMainExtraParts {
20 public:
21 ChromeBrowserMainExtraPartsMetrics();
22 virtual ~ChromeBrowserMainExtraPartsMetrics();
24 // Overridden from ChromeBrowserMainExtraParts:
25 virtual void PreProfileInit() OVERRIDE;
26 virtual void PreBrowserStart() OVERRIDE;
27 virtual void PostBrowserStart() OVERRIDE;
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsMetrics);
33 #endif // CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_H_