summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/i18n/i18n_api.h
blob: 10b4339b884d70b31de49592f6a822753d2f4338 (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_I18N_I18N_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_

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

class I18nGetAcceptLanguagesFunction : public SyncExtensionFunction {
  virtual ~I18nGetAcceptLanguagesFunction() {}
  virtual bool RunImpl() OVERRIDE;
  DECLARE_EXTENSION_FUNCTION("i18n.getAcceptLanguages", I18N_GETACCEPTLANGUAGES)
};

#endif  // CHROME_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_