-
-
Save DHNishi/2014be18e7912916ea25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2013 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. | |
// GENERATED FROM THE FEATURE DEFINITIONS IN | |
// chrome/common/extensions/api/_permission_features.json | |
// DO NOT EDIT. | |
#ifndef CHROME_COMMON_EXTENSIONS_API__PERMISSION_FEATURES_PERMISSIONFEATURES_H__ | |
#define CHROME_COMMON_EXTENSIONS_API__PERMISSION_FEATURES_PERMISSIONFEATURES_H__ | |
#include <map> | |
#include <string> | |
namespace extensions { | |
namespace feature { | |
class PermissionFeatures { | |
public: | |
PermissionFeatures(); | |
enum ID { | |
kUnknown, | |
kActiveTab, | |
kActivityLogPrivate, | |
kAdview, | |
kAlarms, | |
kAppRuntime, | |
kAppWindow, | |
kAudio, | |
kAutotestPrivate, | |
kAudioCapture, | |
kBackground, | |
kBluetooth, | |
kBluetoothDevices, | |
kBookmarkManagerPrivate, | |
kBookmarks, | |
kBrailleDisplayPrivate, | |
kBrowsingData, | |
kChromePrivate, | |
kChromeosInfoPrivate, | |
kClipboardRead, | |
kClipboardWrite, | |
kCloudPrintPrivate, | |
kCommandLinePrivate, | |
kContentSettings, | |
kContextMenus, | |
kCookies, | |
kDiagnostics, | |
kDebugger, | |
kDeveloperPrivate, | |
kDevtools, | |
kDeclarativeContent, | |
kDeclarativeWebRequest, | |
kDesktopCapture, | |
kDns, | |
kDownloads, | |
kDownloadsOpen, | |
kDownloadsShelf, | |
kDial, | |
kEnterprisePlatformKeysPrivate, | |
kExperimental, | |
kFeedbackPrivate, | |
kFileBrowserHandler, | |
kFileBrowserPrivate, | |
kFileSystem, | |
kFileSystemDirectory, | |
kFileSystemRetainEntries, | |
kFileSystemWrite, | |
kFontSettings, | |
kFullscreen, | |
kGeolocation, | |
kHistory, | |
kIdentity, | |
kIdentityPrivate, | |
kIdltest, | |
kIdle, | |
kInfobars, | |
kInput, | |
kInputMethodPrivate, | |
kLocation, | |
kLogPrivate, | |
kManagement, | |
kMediaGalleries, | |
kMediaGalleriesAllAutoDetected, | |
kMediaGalleriesRead, | |
kMediaGalleriesCopyTo, | |
kMediaGalleriesPrivate, | |
kMediaPlayerPrivate, | |
kMetricsPrivate, | |
kMdns, | |
kMusicManagerPrivate, | |
kNativeMessaging, | |
kNetworkingPrivate, | |
kNotifications, | |
kEchoPrivate, | |
kPageCapture, | |
kPointerLock, | |
kPlugin, | |
kPower, | |
kPreferencesPrivate, | |
kPrivacy, | |
kProcesses, | |
kProxy, | |
kPushMessaging, | |
kRecoveryPrivate, | |
kRtcPrivate, | |
kRuntime, | |
kScreensaver, | |
kSerial, | |
kSessions, | |
kSignedInDevices, | |
kStreamsPrivate, | |
kSocket, | |
kSocketsUdp, | |
kSyncFileSystem, | |
kSystemIndicator, | |
kStorage, | |
kSystemCpu, | |
kSystemMemory, | |
kSystemStorage, | |
kSystemDisplay, | |
kSystemPrivate, | |
kTabs, | |
kTabCapture, | |
kTerminalPrivate, | |
kTopSites, | |
kTts, | |
kTtsEngine, | |
kUnlimitedStorage, | |
kUsb, | |
kUsbDevices, | |
kVideoCapture, | |
kVirtualKeyboardPrivate, | |
kWallpaper, | |
kWallpaperPrivate, | |
kWebNavigation, | |
kWebstorePrivate, | |
kWebRequest, | |
kWebRequestBlocking, | |
kWebview, | |
kEnumBoundary | |
}; | |
const char* ToString(ID id) const; | |
ID FromString(const std::string& id) const; | |
private: | |
std::map<std::string, PermissionFeatures::ID> features_; | |
}; | |
} // namespace feature | |
} // namespace extensions | |
#endif // CHROME_COMMON_EXTENSIONS_API__PERMISSION_FEATURES_PERMISSIONFEATURES_H__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment