| Index: chrome/browser/extensions/speech_input/extension_speech_input_manager.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/speech_input/extension_speech_input_manager.cc (revision 106237)
|
| +++ chrome/browser/extensions/speech_input/extension_speech_input_manager.cc (working copy)
|
| @@ -17,7 +17,7 @@
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "content/browser/browser_thread.h"
|
| -#include "content/common/notification_service.h"
|
| +#include "content/public/browser/notification_service.h"
|
|
|
| using namespace speech_input;
|
|
|
| @@ -272,7 +272,7 @@
|
| state_ = kRecording;
|
|
|
| VLOG(1) << "Sending start notification";
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_SPEECH_INPUT_RECORDING_STARTED,
|
| content::Source<Profile>(profile_),
|
| content::Details<std::string>(&extension_id_in_use_));
|
| @@ -405,7 +405,7 @@
|
|
|
| // Will set the error property in the ongoing extension function calls.
|
| ExtensionError details(extension_id, error);
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_SPEECH_INPUT_FAILED,
|
| content::Source<Profile>(profile_),
|
| content::Details<ExtensionError>(&details));
|
| @@ -604,7 +604,7 @@
|
| std::string extension_id = extension_id_in_use_;
|
| ResetToIdleState();
|
|
|
| - NotificationService::current()->Notify(
|
| + content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_SPEECH_INPUT_RECORDING_STOPPED,
|
| // Guarded by the state_ == kShutdown check.
|
| content::Source<Profile>(profile_),
|
|
|