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

Side by Side Diff: chrome/browser/speech/tts_controller_impl.cc

Issue 1076443002: Removed obsolete float_util.h as VS2013 supports standards well enough. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed mistake in value converter. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/speech/tts_controller_impl.h" 5 #include "chrome/browser/speech/tts_controller_impl.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/float_util.h"
11 #include "base/values.h" 10 #include "base/values.h"
12 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/speech/tts_platform.h" 12 #include "chrome/browser/speech/tts_platform.h"
14 13
15 namespace { 14 namespace {
16 // A value to be used to indicate that there is no char index available. 15 // A value to be used to indicate that there is no char index available.
17 const int kInvalidCharIndex = -1; 16 const int kInvalidCharIndex = -1;
18 17
19 // Given a language/region code of the form 'fr-FR', returns just the basic 18 // Given a language/region code of the form 'fr-FR', returns just the basic
20 // language portion, e.g. 'fr'. 19 // language portion, e.g. 'fr'.
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 481 }
483 482
484 void TtsControllerImpl::SetTtsEngineDelegate( 483 void TtsControllerImpl::SetTtsEngineDelegate(
485 TtsEngineDelegate* delegate) { 484 TtsEngineDelegate* delegate) {
486 tts_engine_delegate_ = delegate; 485 tts_engine_delegate_ = delegate;
487 } 486 }
488 487
489 TtsEngineDelegate* TtsControllerImpl::GetTtsEngineDelegate() { 488 TtsEngineDelegate* TtsControllerImpl::GetTtsEngineDelegate() {
490 return tts_engine_delegate_; 489 return tts_engine_delegate_;
491 } 490 }
OLDNEW
« no previous file with comments | « cc/base/histograms.cc ('k') | content/browser/android/java/gin_java_method_invocation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698