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

Side by Side Diff: extensions/common/extension_messages.h

Issue 2418353002: Allow interfaceClass USB device permissions (Closed)
Patch Set: . Created 4 years, 1 month 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 IPC_STRUCT_TRAITS_BEGIN(extensions::StackFrame) 227 IPC_STRUCT_TRAITS_BEGIN(extensions::StackFrame)
228 IPC_STRUCT_TRAITS_MEMBER(line_number) 228 IPC_STRUCT_TRAITS_MEMBER(line_number)
229 IPC_STRUCT_TRAITS_MEMBER(column_number) 229 IPC_STRUCT_TRAITS_MEMBER(column_number)
230 IPC_STRUCT_TRAITS_MEMBER(source) 230 IPC_STRUCT_TRAITS_MEMBER(source)
231 IPC_STRUCT_TRAITS_MEMBER(function) 231 IPC_STRUCT_TRAITS_MEMBER(function)
232 IPC_STRUCT_TRAITS_END() 232 IPC_STRUCT_TRAITS_END()
233 233
234 IPC_STRUCT_TRAITS_BEGIN(extensions::UsbDevicePermissionData) 234 IPC_STRUCT_TRAITS_BEGIN(extensions::UsbDevicePermissionData)
235 IPC_STRUCT_TRAITS_MEMBER(vendor_id()) 235 IPC_STRUCT_TRAITS_MEMBER(vendor_id())
236 IPC_STRUCT_TRAITS_MEMBER(product_id()) 236 IPC_STRUCT_TRAITS_MEMBER(product_id())
237 IPC_STRUCT_TRAITS_MEMBER(interface_class())
237 IPC_STRUCT_TRAITS_END() 238 IPC_STRUCT_TRAITS_END()
238 239
239 IPC_STRUCT_TRAITS_BEGIN(extensions::MediaGalleriesPermissionData) 240 IPC_STRUCT_TRAITS_BEGIN(extensions::MediaGalleriesPermissionData)
240 IPC_STRUCT_TRAITS_MEMBER(permission()) 241 IPC_STRUCT_TRAITS_MEMBER(permission())
241 IPC_STRUCT_TRAITS_END() 242 IPC_STRUCT_TRAITS_END()
242 243
243 IPC_STRUCT_TRAITS_BEGIN(extensions::Message) 244 IPC_STRUCT_TRAITS_BEGIN(extensions::Message)
244 IPC_STRUCT_TRAITS_MEMBER(data) 245 IPC_STRUCT_TRAITS_MEMBER(data)
245 IPC_STRUCT_TRAITS_MEMBER(user_gesture) 246 IPC_STRUCT_TRAITS_MEMBER(user_gesture)
246 IPC_STRUCT_TRAITS_END() 247 IPC_STRUCT_TRAITS_END()
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 int64_t /* service_worker_version_id */, 898 int64_t /* service_worker_version_id */,
898 std::string /* request_uuid */) 899 std::string /* request_uuid */)
899 900
900 // Asks the browser to decrement the pending activity count for 901 // Asks the browser to decrement the pending activity count for
901 // the worker with version id |service_worker_version_id|. 902 // the worker with version id |service_worker_version_id|.
902 // |request_uuid| must match the GUID of a previous request, otherwise the 903 // |request_uuid| must match the GUID of a previous request, otherwise the
903 // browser process ignores the IPC. 904 // browser process ignores the IPC.
904 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, 905 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity,
905 int64_t /* service_worker_version_id */, 906 int64_t /* service_worker_version_id */,
906 std::string /* request_uuid */) 907 std::string /* request_uuid */)
OLDNEW
« no previous file with comments | « extensions/common/api/_behavior_features.json ('k') | extensions/common/features/behavior_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698