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

Unified Diff: chrome/browser/speech/speech_input_extension_manager.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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/speech/speech_input_extension_manager.cc
diff --git a/chrome/browser/speech/speech_input_extension_manager.cc b/chrome/browser/speech/speech_input_extension_manager.cc
index 04356a28089385fb6b927db3d40098c7ca382a50..b2426e9b8fd6d7ceea69b1721f9267401ee57b7b 100644
--- a/chrome/browser/speech/speech_input_extension_manager.cc
+++ b/chrome/browser/speech/speech_input_extension_manager.cc
@@ -183,7 +183,8 @@ void SpeechInputExtensionManager::Observe(int type,
const content::NotificationDetails& details) {
if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
ExtensionUnloaded(
- content::Details<UnloadedExtensionInfo>(details)->extension->id());
+ content::Details<extensions::UnloadedExtensionInfo>(details)->
+ extension->id());
} else {
NOTREACHED();
}
@@ -319,7 +320,7 @@ void SpeechInputExtensionManager::DidStartReceivingAudioOnUIThread() {
VLOG(1) << "State changed to recording";
state_ = kRecording;
- const Extension* extension = profile_->GetExtensionService()->
+ const extensions::Extension* extension = profile_->GetExtensionService()->
GetExtensionById(extension_id_in_use_, true);
DCHECK(extension);

Powered by Google App Engine
This is Rietveld 408576698