[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / toolbar / wrench_menu_observer.h
blobadceae01e22c954ac6041b8eb325680620c58261
1 // Copyright 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_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_
8 class WrenchMenuObserver {
9 public:
10 // Invoked when the WrenchMenu is about to be destroyed (from its destructor).
11 virtual void WrenchMenuDestroyed() = 0;
13 protected:
14 virtual ~WrenchMenuObserver() {}
17 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_