Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/extensions/activity_log/api_name_constants.h

Issue 21646004: Compressed activity log database storage (Closed) Base URL: http://git.chromium.org/chromium/src.git@refactor-cleanups
Patch Set: Factor out dropping of obsolete tables and use in all policies Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 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 // Constants used in api_actions.cc.
6
7 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_API_NAME_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_API_NAME_CONSTANTS_H_
9
10 namespace activity_log_api_name_constants {
11
12 // All of the chrome.* API names and events. ADD TO THE END. Do not remove any!
felt 2013/08/07 01:09:42 thank god, i was really getting sick of telling pe
13 const char* const kNames[] = {
14 "alarms.clear", "alarms.clearAll", "alarms.create", "alarms.get",
15 "alarms.getAll", "alarms.onAlarm", "app.runtime.onLaunched",
16 "app.runtime.onRestarted", "app.window.create", "app.window.current",
17 "app.window.onBoundsChanged", "app.window.onClosed",
18 "app.window.onFullscreened", "app.window.onMaximized",
19 "app.window.onMinimized", "app.window.onRestored", "bluetooth.connect",
20 "bluetooth.disconnect", "bluetooth.getAdapterState",
21 "bluetooth.getDevices", "bluetooth.getLocalOutOfBandPairingData",
22 "bluetooth.getServices", "bluetooth.onAdapterStateChanged",
23 "bluetooth.read", "bluetooth.setOutOfBandPairingData",
24 "bluetooth.startDiscovery", "bluetooth.stopDiscovery", "bluetooth.write",
25 "bookmarks.create", "bookmarks.get", "bookmarks.getChildren",
26 "bookmarks.getRecent", "bookmarks.getSubTree", "bookmarks.getTree",
27 "bookmarks.move", "bookmarks.onChanged", "bookmarks.onChildrenReordered",
28 "bookmarks.onCreated", "bookmarks.onImportBegan",
29 "bookmarks.onImportEnded", "bookmarks.onMoved", "bookmarks.onRemoved",
30 "bookmarks.remove", "bookmarks.removeTree", "bookmarks.search",
31 "bookmarks.update", "browserAction.disable", "browserAction.enable",
32 "browserAction.getBadgeBackgroundColor", "browserAction.getBadgeText",
33 "browserAction.getPopup", "browserAction.getTitle",
34 "browserAction.onClicked", "browserAction.setBadgeBackgroundColor",
35 "browserAction.setBadgeText", "browserAction.setIcon",
36 "browserAction.setPopup", "browserAction.setTitle", "browsingData.remove",
37 "browsingData.removeAppcache", "browsingData.removeCache",
38 "browsingData.removeCookies", "browsingData.removeDownloads",
39 "browsingData.removeFileSystems", "browsingData.removeFormData",
40 "browsingData.removeHistory", "browsingData.removeIndexedDB",
41 "browsingData.removeLocalStorage", "browsingData.removePasswords",
42 "browsingData.removePluginData", "browsingData.removeWebSQL",
43 "browsingData.settings", "commands.getAll", "commands.onCommand",
44 "contextMenus.create", "contextMenus.onClicked", "contextMenus.remove",
45 "contextMenus.removeAll", "contextMenus.update", "cookies.get",
46 "cookies.getAll", "cookies.getAllCookieStores", "cookies.onChanged",
47 "cookies.remove", "cookies.set", "debugger.attach", "debugger.detach",
48 "debugger.getTargets", "debugger.onDetach", "debugger.onEvent",
49 "debugger.sendCommand", "declarativeContent.onPageChanged",
50 "declarativeWebRequest.onMessage", "declarativeWebRequest.onRequest",
51 "devtools.inspectedWindow.eval", "devtools.inspectedWindow.getResources",
52 "devtools.inspectedWindow.onResourceAdded",
53 "devtools.inspectedWindow.onResourceContentCommitted",
54 "devtools.inspectedWindow.reload", "devtools.network.getHAR",
55 "devtools.network.onNavigated", "devtools.network.onRequestFinished",
56 "devtools.panels.create", "devtools.panels.setOpenResourceHandler",
57 "downloads.acceptDanger", "downloads.cancel", "downloads.download",
58 "downloads.drag", "downloads.erase", "downloads.getFileIcon",
59 "downloads.onChanged", "downloads.onCreated",
60 "downloads.onDeterminingFilename", "downloads.onErased", "downloads.open",
61 "downloads.pause", "downloads.resume", "downloads.search",
62 "downloads.show", "experimental.devtools.audits.addCategory",
63 "experimental.devtools.console.addMessage",
64 "experimental.devtools.console.getMessages",
65 "experimental.devtools.console.onMessageAdded",
66 "experimental.discovery.clearAllSuggestions",
67 "experimental.discovery.removeSuggestion",
68 "experimental.discovery.suggest", "experimental.history.getMostVisited",
69 "experimental.identity.getAuthToken",
70 "experimental.identity.launchWebAuthFlow", "infobars.show",
71 "experimental.mediaGalleries.assembleMediaFile",
72 "experimental.mediaGalleries.extractEmbeddedThumbnails",
73 "experimental.processes.getProcessIdForTab",
74 "experimental.processes.getProcessInfo",
75 "experimental.processes.onCreated", "experimental.processes.onExited",
76 "experimental.processes.onUnresponsive",
77 "experimental.processes.onUpdated",
78 "experimental.processes.onUpdatedWithMemory",
79 "experimental.processes.terminate",
80 "experimental.record.captureURLs", "experimental.record.replayURLs",
81 "experimental.speechInput.isRecording", "experimental.speechInput.onError",
82 "experimental.speechInput.onResult", "experimental.speechInput.onSoundEnd",
83 "experimental.speechInput.onSoundStart", "experimental.speechInput.start",
84 "experimental.speechInput.stop", "experimental.systemInfo.cpu.get" ,
85 "experimental.systemInfo.cpu.onUpdated",
86 "experimental.systemInfo.display.get",
87 "experimental.systemInfo.memory.get", "experimental.systemInfo.storage.get",
88 "experimental.systemInfo.storage.onAttached",
89 "experimental.systemInfo.storage.onAvailableCapacityChanged",
90 "experimental.systemInfo.storage.onDetached",
91 "extension.getBackgroundPage", "extension.getURL", "extension.getViews",
92 "extension.isAllowedFileSchemeAccess",
93 "extension.isAllowedIncognitoAccess", "extension.setUpdateUrlData",
94 "fileBrowserHandler.onExecute", "fileBrowserHandler.selectFile",
95 "fileSystem.chooseEntry", "fileSystem.getDisplayPath",
96 "fileSystem.getEntryById", "fileSystem.getEntryId",
97 "fileSystem.getWritableEntry", "fileSystem.isWritableEntry",
98 "fontSettings.clearDefaultFixedFontSize",
99 "fontSettings.clearDefaultFontSize", "fontSettings.clearFont",
100 "fontSettings.clearMinimumFontSize",
101 "fontSettings.getDefaultFixedFontSize", "fontSettings.getDefaultFontSize",
102 "fontSettings.getFont", "fontSettings.getFontList",
103 "fontSettings.getMinimumFontSize",
104 "fontSettings.onDefaultFixedFontSizeChanged",
105 "fontSettings.onDefaultFontSizeChanged", "fontSettings.onFontChanged",
106 "fontSettings.onMinimumFontSizeChanged",
107 "fontSettings.setDefaultFixedFontSize", "fontSettings.setDefaultFontSize",
108 "fontSettings.setFont", "fontSettings.setMinimumFontSize",
109 "history.addUrl", "history.deleteAll", "history.deleteRange",
110 "history.deleteUrl", "history.getVisits", "history.onVisitRemoved",
111 "history.onVisited", "history.search", "i18n.getAcceptLanguages",
112 "i18n.getMessage", "idle.onStateChanged", "idle.queryState",
113 "idle.setDetectionInterval", "input.ime.clearComposition",
114 "input.ime.commitText", "input.ime.deleteSurroundingText",
115 "input.ime.keyEventHandled", "input.ime.onActivate", "input.ime.onBlur",
116 "input.ime.onCandidateClicked", "input.ime.onDeactivated",
117 "input.ime.onFocus", "input.ime.onInputContextUpdate",
118 "input.ime.onKeyEvent", "input.ime.onMenuItemActivated",
119 "input.ime.onSurroundingTextChanged",
120 "input.ime.setCandidateWindowProperties", "input.ime.setCandidates",
121 "input.ime.setComposition", "input.ime.setCursorPosition",
122 "input.ime.setMenuItems", "input.ime.updateMenuItems", "management.get",
123 "management.getAll", "management.getPermissionWarningsById",
124 "management.getPermissionWarningsByManifest", "management.launchApp",
125 "management.onDisabled", "management.onEnabled", "management.onInstalled",
126 "management.onUninstalled", "management.setEnabled",
127 "management.uninstall", "management.uninstallSelf",
128 "mediaGalleries.getMediaFileSystemMetadata",
129 "mediaGalleries.getMediaFileSystems", "notifications.clear",
130 "notifications.create", "notifications.onButtonClicked",
131 "notifications.onClicked", "notifications.onClosed",
132 "notifications.onDisplayed", "notifications.update",
133 "omnibox.onInputCancelled", "omnibox.onInputChanged",
134 "omnibox.onInputEntered", "omnibox.onInputStarted",
135 "omnibox.setDefaultSuggestion", "pageAction.getPopup",
136 "pageAction.getTitle", "pageAction.hide", "pageAction.onClicked",
137 "pageAction.setIcon", "pageAction.setPopup", "pageAction.setTitle",
138 "pageAction.show", "pageCapture.saveAsMHTML", "permissions.contains",
139 "permissions.getAll", "permissions.onAdded", "permissions.onRemoved",
140 "permissions.remove", "permissions.request", "power.releaseKeepAwake",
141 "power.requestKeepAwake", "proxy.onProxyError",
142 "pushMessaging.getChannelId", "pushMessaging.onMessage", "runtime.connect",
143 "runtime.getBackgroundPage", "runtime.getManifest", "runtime.getURL",
144 "runtime.onBrowserUpdateAvailable", "runtime.onConnect",
145 "runtime.onConnectExternal", "runtime.onInstalled", "runtime.onMessage",
146 "runtime.onMessageExternal", "runtime.onStartup", "runtime.onSuspend",
147 "runtime.onSuspendCanceled", "runtime.onUpdateAvailable", "runtime.reload",
148 "runtime.requestUpdateCheck", "runtime.sendMessage",
149 "scriptBadge.getAttention", "scriptBadge.getPopup",
150 "scriptBadge.onClicked", "scriptBadge.setPopup", "serial.close",
151 "serial.flush", "serial.getControlSignals", "serial.getPorts",
152 "serial.open", "serial.read", "serial.setControlSignals", "serial.write",
153 "sessionRestore.getRecentlyClosed", "sessionRestore.restore",
154 "socket.accept", "socket.bind", "socket.connect", "socket.create",
155 "socket.destroy", "socket.disconnect", "socket.getInfo",
156 "socket.getNetworkList", "socket.listen", "socket.read", "socket.recvFrom",
157 "socket.sendTo", "socket.setKeepAlive", "socket.setNoDelay",
158 "socket.write", "storage.onChanged",
159 "syncFileSystem.getConflictResolutionPolicy",
160 "syncFileSystem.getFileStatus", "syncFileSystem.getFileStatuses",
161 "syncFileSystem.getUsageAndQuota", "syncFileSystem.onFileStatusChanged",
162 "syncFileSystem.onServiceStatusChanged",
163 "syncFileSystem.requestFileSystem",
164 "syncFileSystem.setConflictResolutionPolicy", "tabCapture.capture",
165 "tabCapture.getCapturedTabs", "tabCapture.onStatusChanged",
166 "tabs.captureVisibleTab", "tabs.connect", "tabs.create",
167 "tabs.detectLanguage", "tabs.duplicate", "tabs.executeScript", "tabs.get",
168 "tabs.getCurrent", "tabs.highlight", "tabs.insertCSS", "tabs.move",
169 "tabs.onActivated", "tabs.onAttached", "tabs.onCreated", "tabs.onDetached",
170 "tabs.onHighlighted", "tabs.onMoved", "tabs.onRemoved", "tabs.onReplaced",
171 "tabs.onUpdated", "tabs.query", "tabs.reload", "tabs.remove",
172 "tabs.sendMessage", "tabs.update", "topSites.get", "tts.getVoices",
173 "tts.isSpeaking", "tts.speak", "tts.stop", "ttsEngine.onSpeak",
174 "ttsEngine.onStop", "usb.bulkTransfer", "usb.claimInterface",
175 "usb.closeDevice", "usb.controlTransfer", "usb.findDevices",
176 "usb.interruptTransfer", "usb.isochronousTransfer", "usb.releaseInterface",
177 "usb.setInterfaceAlternateSetting", "webNavigation.getAllFrames",
178 "webNavigation.getFrame", "webNavigation.onBeforeNavigate",
179 "webNavigation.onCommitted", "webNavigation.onCompleted",
180 "webNavigation.onCreatedNavigationTarget",
181 "webNavigation.onDOMContentLoaded", "webNavigation.onErrorOccurred",
182 "webNavigation.onHistoryStateUpdated",
183 "webNavigation.onReferenceFragmentUpdated", "webNavigation.onTabReplaced",
184 "webRequest.handlerBehaviorChanged", "webRequest.onAuthRequired",
185 "webRequest.onBeforeRedirect", "webRequest.onBeforeRequest",
186 "webRequest.onBeforeSendHeaders", "webRequest.onCompleted",
187 "webRequest.onErrorOccurred", "webRequest.onHeadersReceived",
188 "webRequest.onResponseStarted", "webRequest.onSendHeaders",
189 "webstore.install", "windows.create", "windows.get", "windows.getAll",
190 "windows.getCurrent", "windows.getLastFocused", "windows.onCreated",
191 "windows.onFocusChanged", "windows.onRemoved", "windows.remove",
192 "windows.update",
193 "tabs.getSelected", "tabs.sendRequest",
194 "systemInfo.cpu.get", "systemInfo.memory.get",
195 "runtime.onRestartRequired",
196 "system.cpu.getInfo",
197 "system.display.getInfo",
198 "system.display.onDisplayChanged",
199 "system.display.setDisplayProperties",
200 "system.memory.getInfo",
201 "system.storage.getInfo",
202 "system.storage.onAttached",
203 "system.storage.onDetached",
204 "system.storage.ejectDevice",
205 "system.storage.addAvailableCapacityWatch",
206 "system.storage.removeAvailableCapacityWatch",
207 "system.storage.getAllAvailableCapacityWatches",
208 "system.storage.removeAllAvailableCapacityWatches",
209 "system.storage.onAvailableCapacityChanged"
210 };
211
212 } // namespace activity_log_api_name_constants
213
214 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_API_NAME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698