1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_I18N_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_I18N_API_H__ 7 #pragma once 8 9 #include "chrome/browser/extensions/extension_function.h" 10 11 class GetAcceptLanguagesFunction : public SyncExtensionFunction { 12 ~GetAcceptLanguagesFunction() {} 13 virtual bool RunImpl(); 14 DECLARE_EXTENSION_FUNCTION_NAME("i18n.getAcceptLanguages") 15 }; 16 17 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_I18N_API_H__ 18