summaryrefslogtreecommitdiffstats
path: root/chrome/browser/infobars/infobar_extension_api.h
blob: a74b6f892ee64c3f8acfe9eb21f3511ca9fbe918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2011 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_INFOBARS_INFOBAR_EXTENSION_API_H_
#define CHROME_BROWSER_INFOBARS_INFOBAR_EXTENSION_API_H_

#include "chrome/browser/extensions/chrome_extension_function.h"

class InfobarsShowFunction : public ChromeSyncExtensionFunction {
  virtual ~InfobarsShowFunction() {}
  virtual bool RunSync() OVERRIDE;
  DECLARE_EXTENSION_FUNCTION("infobars.show", INFOBARS_SHOW)
};

#endif  // CHROME_BROWSER_INFOBARS_INFOBAR_EXTENSION_API_H_