summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/website_settings/chosen_object_view_observer.h
blob: d633df931a884c912106254443360bc5a9117fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_OBSERVER_H_
#define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_OBSERVER_H_

#include "chrome/browser/ui/website_settings/website_settings_ui.h"

class ChosenObjectView;

class ChosenObjectViewObserver {
 public:
  // This method is called when permission for the object is revoked.
  virtual void OnChosenObjectDeleted(
      const WebsiteSettingsUI::ChosenObjectInfo& info) = 0;

 protected:
  virtual ~ChosenObjectViewObserver() {}
};

#endif  // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_CHOSEN_OBJECT_VIEW_OBSERVER_H_