summaryrefslogtreecommitdiffstats
path: root/chrome/browser/speech/extension_api/tts_extension_api_chromeos.h
blob: ef225d891d9820d3d4d93a1c04496da30e5ef60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 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.

#ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CHROMEOS_H_
#define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CHROMEOS_H_
#pragma once

// This is called by AudioMixerAlsa to signal that it's safe to begin
// using TTS on ChromeOS - this must happen after AudioMixerAlsa has
// finished its initialization. NotificationService would be cleaner,
// but it's not available at the point when this code needs to be called.
void EnableChromeOsTts();

#endif  // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_CHROMEOS_H_