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

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

Issue 141733008: Use incognito split for ChromeVox and TTS in Guest mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comment Created 6 years, 10 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/tts_extension_loader_chromeos.cc
diff --git a/chrome/browser/speech/tts_extension_loader_chromeos.cc b/chrome/browser/speech/tts_extension_loader_chromeos.cc
index 3c8f23342c56f40df1da38643962580200c8ea03..9e325ba694c5298774c26b8feb5c051ed3148d69 100644
--- a/chrome/browser/speech/tts_extension_loader_chromeos.cc
+++ b/chrome/browser/speech/tts_extension_loader_chromeos.cc
@@ -87,10 +87,7 @@ bool TtsExtensionLoaderChromeOs::LoadTtsExtension() {
tts_state_ = TTS_LOADING;
ExtensionService* extension_service = profile_->GetExtensionService();
DCHECK(extension_service);
- base::FilePath path =
- base::FilePath(extension_misc::kSpeechSynthesisExtensionPath);
- extension_service->component_loader()->Add(IDR_SPEECH_SYNTHESIS_MANIFEST,
- path);
+ extension_service->component_loader()->AddChromeOsSpeechSynthesisExtension();
return true;
}
« no previous file with comments | « chrome/browser/resources/chromeos/speech_synthesis/manifest_guest.json ('k') | webkit/browser/fileapi/file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698