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 // This extension API contains system-wide preferences and functions that shall |
| 6 // be only available to component extensions. |
| 7 |
| 8 #ifndef CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_ |
| 9 #define CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_ |
| 10 |
| 11 #include "chrome/browser/extensions/extension_preference_api.h" |
| 12 |
| 13 #include <string> |
| 14 |
| 15 namespace base { |
| 16 class Value; |
| 17 } |
| 18 |
| 19 namespace extensions { |
| 20 |
| 21 class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction { |
| 22 public: |
| 23 virtual ~GetIncognitoModeAvailabilityFunction(); |
| 24 virtual bool RunImpl() OVERRIDE; |
| 25 DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability") |
| 26 }; |
| 27 |
| 28 } // namespace extensions |
| 29 |
| 30 #endif // CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_ |
OLD | NEW |