| Index: chrome/common/extensions/api/hotword_audio_verification_private.idl
|
| diff --git a/chrome/common/extensions/api/hotword_audio_verification_private.idl b/chrome/common/extensions/api/hotword_audio_verification_private.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..61e00330e12a37ab60c8386fa768d1e31bc28391
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/hotword_audio_verification_private.idl
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 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.
|
| +
|
| +// The <code>chrome.hotwordAudioVerificationPrivate</code> API allows
|
| +// apps to access and mutate the preference for enabling always-on-hotword
|
| +// search.
|
| +
|
| +[nodoc] namespace hotwordAudioVerificationPrivate {
|
| +
|
| + dictionary LaunchState {
|
| + // The mode that the app was launched in.
|
| + long launchMode;
|
| + };
|
| +
|
| + callback LaunchStateCallback = void(LaunchState result);
|
| +
|
| + interface Functions {
|
| + // Retrieves the state that the app was launched in.
|
| + // The result is put into a LaunchState object.
|
| + static void getLaunchState(LaunchStateCallback callback);
|
| + };
|
| +};
|
|
|