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

Unified Diff: chrome/common/extensions/api/hotword_audio_verification_private.idl

Issue 528113003: Hotword Audio Verification App: Adds to hotwordPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-one
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
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);
+ };
+};

Powered by Google App Engine
This is Rietveld 408576698