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

Unified Diff: chrome/browser/extensions/extension_test_api.cc

Issue 274059: Small cleanup to extension function registration to avoid scattered definitions. (Closed)
Patch Set: Created 11 years, 2 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/extension_test_api.cc
diff --git a/chrome/browser/extensions/extension_test_api.cc b/chrome/browser/extensions/extension_test_api.cc
index ef4cb1689cabdb531070162f480fccbc7073423d..e3354e424fb9ef425415a82af3e2b28b957be1a9 100644
--- a/chrome/browser/extensions/extension_test_api.cc
+++ b/chrome/browser/extensions/extension_test_api.cc
@@ -5,12 +5,6 @@
#include "chrome/browser/extensions/extension_test_api.h"
#include "chrome/common/notification_service.h"
-namespace extension_test_api_functions {
-const char kPassFunction[] = "test.notifyPass";
-const char kFailFunction[] = "test.notifyFail";
-const char kLogFunction[] = "test.log";
-}; // namespace extension_test_api_functions
-
bool ExtensionTestPassFunction::RunImpl() {
NotificationService::current()->Notify(
NotificationType::EXTENSION_TEST_PASSED,

Powered by Google App Engine
This is Rietveld 408576698