DIAL (Discovery and Launch protocol) extension API skeleton.
authorjustinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Dec 2012 02:59:44 +0000 (02:59 +0000)
committerjustinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Dec 2012 02:59:44 +0000 (02:59 +0000)
commit0f05aa7e29cf814a204830c82ba2619f9c636894
treec9d6f1b83d12dda270086f5988d9cdcd264048c0
parent3ed34d4715a63b000e6ff6814eb2c028e661139b
DIAL (Discovery and Launch protocol) extension API skeleton.

This implements the skeleton for a new Chrome extension API for local device discovery. The API will first be restricted to whitelisted extensions only. The API will allow extensions to receive events from a DIAL service running within Chrome which notifies of devices being discovered on the local network.

Spec available here:
https://docs.google.com/a/google.com/document/d/14FI-VKWrsMG7pIy3trgM3ybnKS-o5TULkt8itiBNXlQ/edit

BUG=163288
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11444020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172243 0039d316-1c4b-4281-b951-d872f2087c98
26 files changed:
chrome/browser/extensions/api/dial/dial_api.cc [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_api.h [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_api_factory.cc [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_api_factory.h [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_apitest.cc [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_device_data.cc [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_device_data.h [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_registry.cc [new file with mode: 0644]
chrome/browser/extensions/api/dial/dial_registry.h [new file with mode: 0644]
chrome/browser/extensions/event_names.cc
chrome/browser/extensions/event_names.h
chrome/browser/profiles/profile_dependency_manager.cc
chrome/chrome_browser_extensions.gypi
chrome/chrome_tests.gypi
chrome/common/extensions/api/_permission_features.json
chrome/common/extensions/api/api.gyp
chrome/common/extensions/api/dial.idl [new file with mode: 0644]
chrome/common/extensions/permissions/api_permission.cc
chrome/common/extensions/permissions/api_permission.h
chrome/common/extensions/permissions/permission_set_unittest.cc
chrome/test/data/extensions/api_test/dial/experimental/discovery.html [new file with mode: 0644]
chrome/test/data/extensions/api_test/dial/experimental/discovery.js [new file with mode: 0644]
chrome/test/data/extensions/api_test/dial/experimental/manifest.json [new file with mode: 0644]
chrome/test/data/extensions/api_test/dial/experimental/runtest.js [new file with mode: 0644]
chrome/test/data/extensions/api_test/dial/whitelist/manifest.json [new file with mode: 0644]
chrome/test/data/extensions/api_test/dial/whitelist/runtest.js [new file with mode: 0644]