summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/commands/commands.h
blob: 9aa38eae130a77a2d7c8830337d78ca08adf84d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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_EXTENSIONS_API_COMMANDS_COMMANDS_H_
#define CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMANDS_H_

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

class GetAllCommandsFunction : public ChromeSyncExtensionFunction {
  ~GetAllCommandsFunction() override {}
  bool RunSync() override;
  DECLARE_EXTENSION_FUNCTION("commands.getAll", COMMANDS_GETALL)
};

#endif  // CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMANDS_H_