OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_PREFERENCE_API_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ |
| 7 #pragma once |
| 8 |
| 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 |
| 11 class GetPreferenceFunction : public SyncExtensionFunction { |
| 12 public: |
| 13 virtual ~GetPreferenceFunction(); |
| 14 virtual bool RunImpl(); |
| 15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.preferences.get") |
| 16 }; |
| 17 |
| 18 class SetPreferenceFunction : public SyncExtensionFunction { |
| 19 public: |
| 20 virtual ~SetPreferenceFunction(); |
| 21 virtual bool RunImpl(); |
| 22 DECLARE_EXTENSION_FUNCTION_NAME("experimental.preferences.set") |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ |
OLD | NEW |