| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chromeos/cros/speech_synthesis_library.h" | 5 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "chrome/browser/browser_thread.h" | |
| 9 #include "chrome/browser/chromeos/cros/cros_library.h" | 8 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 10 #include "cros/chromeos_speech_synthesis.h" | 9 #include "cros/chromeos_speech_synthesis.h" |
| 11 | 10 |
| 12 namespace chromeos { | 11 namespace chromeos { |
| 13 | 12 |
| 14 class SpeechSynthesisLibraryImpl : public SpeechSynthesisLibrary { | 13 class SpeechSynthesisLibraryImpl : public SpeechSynthesisLibrary { |
| 15 public: | 14 public: |
| 16 SpeechSynthesisLibraryImpl() {} | 15 SpeechSynthesisLibraryImpl() {} |
| 17 virtual ~SpeechSynthesisLibraryImpl() {} | 16 virtual ~SpeechSynthesisLibraryImpl() {} |
| 18 | 17 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 55 |
| 57 // static | 56 // static |
| 58 SpeechSynthesisLibrary* SpeechSynthesisLibrary::GetImpl(bool stub) { | 57 SpeechSynthesisLibrary* SpeechSynthesisLibrary::GetImpl(bool stub) { |
| 59 if (stub) | 58 if (stub) |
| 60 return new SpeechSynthesisLibraryStubImpl(); | 59 return new SpeechSynthesisLibraryStubImpl(); |
| 61 else | 60 else |
| 62 return new SpeechSynthesisLibraryImpl(); | 61 return new SpeechSynthesisLibraryImpl(); |
| 63 } | 62 } |
| 64 | 63 |
| 65 } // namespace chromeos | 64 } // namespace chromeos |
| OLD | NEW |