[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / ash / chrome_browser_main_extra_parts_ash.h
blobd1ef91819018f9f649f49cd1562d71dceddcf1b1
1 // Copyright (c) 2012 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_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_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 ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts {
14 public:
15 ChromeBrowserMainExtraPartsAsh();
16 virtual ~ChromeBrowserMainExtraPartsAsh();
18 // Overridden from ChromeBrowserMainExtraParts:
19 virtual void PreProfileInit() OVERRIDE;
20 virtual void PostProfileInit() OVERRIDE;
21 virtual void PostMainMessageLoopRun() OVERRIDE;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh);
27 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_