| Index: chrome/browser/extensions/extension_tts_api_linux.cc
|
| diff --git a/chrome/browser/extensions/extension_tts_api_linux.cc b/chrome/browser/extensions/extension_tts_api_linux.cc
|
| deleted file mode 100644
|
| index 07e6c61a9e0f65b5712768cebef3c5d60b173a2d..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/extensions/extension_tts_api_linux.cc
|
| +++ /dev/null
|
| @@ -1,59 +0,0 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "base/memory/singleton.h"
|
| -#include "chrome/browser/extensions/extension_tts_api_platform.h"
|
| -
|
| -namespace {
|
| -const char kNotSupportedError[] =
|
| - "Native speech synthesis not supported on this platform.";
|
| -};
|
| -
|
| -class ExtensionTtsPlatformImplLinux : public ExtensionTtsPlatformImpl {
|
| - public:
|
| - virtual bool PlatformImplAvailable() {
|
| - return false;
|
| - }
|
| -
|
| - virtual bool Speak(
|
| - int utterance_id,
|
| - const std::string& utterance,
|
| - const std::string& lang,
|
| - const UtteranceContinuousParameters& params) {
|
| - error_ = kNotSupportedError;
|
| - return false;
|
| - }
|
| -
|
| - virtual bool StopSpeaking() {
|
| - error_ = kNotSupportedError;
|
| - return false;
|
| - }
|
| -
|
| - virtual bool IsSpeaking() {
|
| - error_ = kNotSupportedError;
|
| - return false;
|
| - }
|
| -
|
| - virtual bool SendsEvent(TtsEventType event_type) {
|
| - return false;
|
| - }
|
| -
|
| - // Get the single instance of this class.
|
| - static ExtensionTtsPlatformImplLinux* GetInstance() {
|
| - return Singleton<ExtensionTtsPlatformImplLinux>::get();
|
| - }
|
| -
|
| - private:
|
| - ExtensionTtsPlatformImplLinux() {}
|
| - virtual ~ExtensionTtsPlatformImplLinux() {}
|
| -
|
| - friend struct DefaultSingletonTraits<ExtensionTtsPlatformImplLinux>;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ExtensionTtsPlatformImplLinux);
|
| -};
|
| -
|
| -// static
|
| -ExtensionTtsPlatformImpl* ExtensionTtsPlatformImpl::GetInstance() {
|
| - return ExtensionTtsPlatformImplLinux::GetInstance();
|
| -}
|
|
|