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

Side by Side Diff: chrome/browser/extensions/api/myapi/myapi_api.cc

Issue 17679004: testing adding an extension api Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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 api::myapi::Foo foo;
2 foo.id = 5;
3 foo.bar = "hello world";
4 ExtensionSystem::Get(profile)->event_router()->DispatchEventToExtension(
5 extension_id,
6 event_names::kOnInterestingEvent,
7 *api::myapi::OnInterestingEvent::Create(foo),
8 profile,
9 GURL());
10
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/myapi/myapi_api.h ('k') | chrome/browser/extensions/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698