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 ~GetPreferenceFunction(); | |
battre
2011/02/11 13:49:02
virtual?
Bernhard Bauer
2011/02/11 15:27:15
Done. I had already made that change, but hadn't u
| |
14 virtual bool RunImpl(); | |
15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.preferences.get") | |
16 }; | |
17 | |
18 class SetPreferenceFunction : public SyncExtensionFunction { | |
19 public: | |
20 ~SetPreferenceFunction(); | |
battre
2011/02/11 13:49:02
virtual?
| |
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 |