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

Unified Diff: content/public/browser/speech_recognition_session_context.h

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: content/public/browser/speech_recognition_session_context.h
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h
index 4b6d9f7bd730adb1a392360999a0727771ffa5d7..80d24dbe9361c09b58e9675c8791f355cb69beec 100644
--- a/content/public/browser/speech_recognition_session_context.h
+++ b/content/public/browser/speech_recognition_session_context.h
@@ -6,7 +6,8 @@
#define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONTEXT_H_
#pragma once
-#include "base/string16.h"
+#include <string>
+
#include "content/common/content_export.h"
#include "ui/gfx/rect.h"
@@ -35,16 +36,9 @@ struct CONTENT_EXPORT SpeechRecognitionSessionContext {
// |requested_by_page_element| = true).
gfx::Rect element_rect;
- // Determines whether this is the first time that this context (identified by
- // |context_name|) is requesting a recognition.
- // TODO(primiano) This is really temporary, remove after CL1.12 which will
- // refactor SpeechRecognitionPreferences and move this check entirely whithin
- // chrome, without involving content.
- bool is_first_request_for_context;
-
// A texual description of the context (website, extension name) that is
// requesting recognition, for prompting security notifications to the user.
- string16 context_name;
+ std::string context_name;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698