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

Unified Diff: chrome/browser/extensions/api/test/test_api.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/test/test_api.cc
===================================================================
--- chrome/browser/extensions/api/test/test_api.cc (revision 181773)
+++ chrome/browser/extensions/api/test/test_api.cc (working copy)
@@ -53,9 +53,9 @@
return true;
}
-TestFailFunction::~TestFailFunction() {}
+TestNotifyFailFunction::~TestNotifyFailFunction() {}
-bool TestFailFunction::RunImpl() {
+bool TestNotifyFailFunction::RunImpl() {
std::string message;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message));
content::NotificationService::current()->Notify(
« no previous file with comments | « chrome/browser/extensions/api/test/test_api.h ('k') | chrome/browser/extensions/api/top_sites/top_sites_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698