[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / bookmarks / bookmark_menu_controller_observer.h
blobf6ca0166fa6c2a7d90fee2d9d66c8b1b070d2104
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_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_OBSERVER_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_OBSERVER_H_
8 class BookmarkMenuController;
10 // The observer is notified prior to the menu being deleted.
11 class BookmarkMenuControllerObserver {
12 public:
13 virtual void BookmarkMenuControllerDeleted(
14 BookmarkMenuController* controller) = 0;
16 protected:
17 virtual ~BookmarkMenuControllerObserver() {}
20 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_OBSERVER_H_