| Index: chrome/browser/extensions/extension_test_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_test_api.cc (revision 106237)
|
| +++ chrome/browser/extensions/extension_test_api.cc (working copy)
|
| @@ -13,7 +13,7 @@
|
| #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"
|
| +#include "content/public/browser/notification_service.h"
|
|
|
| namespace {
|
|
|
| @@ -28,10 +28,10 @@
|
| ExtensionTestPassFunction::~ExtensionTestPassFunction() {}
|
|
|
| bool ExtensionTestPassFunction::RunImpl() {
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_TEST_PASSED,
|
| content::Source<Profile>(dispatcher()->profile()),
|
| - NotificationService::NoDetails());
|
| + content::NotificationService::NoDetails());
|
| return true;
|
| }
|
|
|
| @@ -40,7 +40,7 @@
|
| bool ExtensionTestFailFunction::RunImpl() {
|
| std::string message;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message));
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_TEST_FAILED,
|
| content::Source<Profile>(dispatcher()->profile()),
|
| content::Details<std::string>(&message));
|
| @@ -80,7 +80,7 @@
|
| std::string message;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &message));
|
| AddRef(); // balanced in Reply
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_TEST_MESSAGE,
|
| content::Source<ExtensionTestSendMessageFunction>(this),
|
| content::Details<std::string>(&message));
|
|
|