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

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

Issue 10407120: Moving tray icon and notification balloon for background speech recognition sessions to ChromeSpeec… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed win issued ("interface" member clashes with a VS macro name, sigh) Created 8 years, 6 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/chrome_speech_recognition_preferences.cc
diff --git a/chrome/browser/speech/chrome_speech_recognition_preferences.cc b/chrome/browser/speech/chrome_speech_recognition_preferences.cc
index 8faf8619fd375c83d99a9bf9b5c506f9d461a6dc..388cb2df0cbfdf0753f59558ad2d63767ae3a84d 100644
--- a/chrome/browser/speech/chrome_speech_recognition_preferences.cc
+++ b/chrome/browser/speech/chrome_speech_recognition_preferences.cc
@@ -160,7 +160,7 @@ void ChromeSpeechRecognitionPreferences::ToggleFilterProfanities() {
}
bool ChromeSpeechRecognitionPreferences::ShouldShowSecurityNotification(
- const string16& context_name) const {
+ const std::string& context_name) const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(notifications_shown_.get());
scoped_ptr<base::StringValue> match_name(
@@ -169,7 +169,7 @@ bool ChromeSpeechRecognitionPreferences::ShouldShowSecurityNotification(
}
void ChromeSpeechRecognitionPreferences::SetHasShownSecurityNotification(
- const string16& context_name) {
+ const std::string& context_name) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(notifications_shown_.get());
notifications_shown_->AppendIfNotPresent(
« no previous file with comments | « chrome/browser/speech/chrome_speech_recognition_preferences.h ('k') | chrome/browser/speech/speech_input_extension_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698