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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
===================================================================
--- chrome/browser/extensions/extension_test_api.cc (revision 91968)
+++ chrome/browser/extensions/extension_test_api.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/extensions/extensions_quota_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/common/notification_service.h"
namespace {
@@ -28,7 +29,7 @@
bool ExtensionTestPassFunction::RunImpl() {
NotificationService::current()->Notify(
- NotificationType::EXTENSION_TEST_PASSED,
+ chrome::NOTIFICATION_EXTENSION_TEST_PASSED,
Source<Profile>(dispatcher()->profile()),
NotificationService::NoDetails());
return true;
@@ -40,7 +41,7 @@
std::string message;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message));
NotificationService::current()->Notify(
- NotificationType::EXTENSION_TEST_FAILED,
+ chrome::NOTIFICATION_EXTENSION_TEST_FAILED,
Source<Profile>(dispatcher()->profile()),
Details<std::string>(&message));
return true;
@@ -80,7 +81,7 @@
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message));
AddRef(); // balanced in Reply
NotificationService::current()->Notify(
- NotificationType::EXTENSION_TEST_MESSAGE,
+ chrome::NOTIFICATION_EXTENSION_TEST_MESSAGE,
Source<ExtensionTestSendMessageFunction>(this),
Details<std::string>(&message));
return true;
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/extension_test_message_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698