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

Unified Diff: chrome/browser/speech/tts_controller.h

Issue 625503002: Get rid of src_extension_id from TtsController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, address nit Created 6 years, 2 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
« no previous file with comments | « chrome/browser/speech/extension_api/tts_extension_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/tts_controller.h
diff --git a/chrome/browser/speech/tts_controller.h b/chrome/browser/speech/tts_controller.h
index f664d4a800d2c62b4150763d3e3bb8fb5f020c72..45690c941f9f03aa26bb978f4d1a1caa05429925 100644
--- a/chrome/browser/speech/tts_controller.h
+++ b/chrome/browser/speech/tts_controller.h
@@ -151,11 +151,6 @@ class Utterance {
void set_options(const base::Value* options);
const base::Value* options() const { return options_.get(); }
- void set_src_extension_id(const std::string& src_extension_id) {
- src_extension_id_ = src_extension_id;
- }
- const std::string& src_extension_id() { return src_extension_id_; }
-
void set_src_id(int src_id) { src_id_ = src_id; }
int src_id() { return src_id_; }
@@ -242,10 +237,6 @@ class Utterance {
// other than the ones we explicitly parse, below.
scoped_ptr<base::Value> options_;
- // The extension ID of the extension that called speak() and should
- // receive events.
- std::string src_extension_id_;
-
// The source extension's ID of this utterance, so that it can associate
// events with the appropriate callback.
int src_id_;
« no previous file with comments | « chrome/browser/speech/extension_api/tts_extension_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698