summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/extensions/extension_enable_flow_delegate.h
blob: 28f5b7b05ff69426c7b0acac910bfcc5b199d6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2012 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_EXTENSIONS_EXTENSION_ENABLE_FLOW_DELEGATE_H_
#define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_DELEGATE_H_

class ExtensionInstallPrompt;

class ExtensionEnableFlowDelegate {
 public:
  // Invoked when |flow| is finished successfully.
  virtual void ExtensionEnableFlowFinished() = 0;

  // Invoked when |flow| is aborted.
  virtual void ExtensionEnableFlowAborted(bool user_initiated) = 0;

 protected:
  virtual ~ExtensionEnableFlowDelegate() {}
};

#endif  // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_ENABLE_FLOW_DELEGATE_H_