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

Unified Diff: chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.h

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/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.h
diff --git a/chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.h b/chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..db7b8afd084bf4f2ba0e12cc84134ee793461468
--- /dev/null
+++ b/chrome/browser/extensions/api/hotword_audio_verification_private/hotword_audio_verification_private_api.h
@@ -0,0 +1,33 @@
+// 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.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_API_HOTWORD_AUDIO_VERIFICATION_PRIVATE_HOTWORD_AUDIO_VERIFICATION_PRIVATE_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_HOTWORD_AUDIO_VERIFICATION_PRIVATE_HOTWORD_AUDIO_VERIFICATION_PRIVATE_API_H_
+
+#include "base/prefs/pref_change_registrar.h"
+#include "base/values.h"
+#include "chrome/browser/extensions/chrome_extension_function.h"
+#include "chrome/common/extensions/api/hotword_audio_verification_private.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
benwells 2014/09/09 20:57:30 I don't think all (most?) of these includes are ne
kcarattini 2014/09/10 08:14:28 Merged this file into hotword_private_api.h
+
+class Profile;
+
+namespace extensions {
+
+class HotwordAudioVerificationPrivateGetLaunchStateFunction :
+ public ChromeSyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("hotwordAudioVerificationPrivate.getLaunchState",
+ HOTWORDAUDIOVERIFICATIONPRIVATE_GETLAUNCHSTATE)
+
+ protected:
+ virtual ~HotwordAudioVerificationPrivateGetLaunchStateFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunSync() OVERRIDE;
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_HOTWORD_AUDIO_VERIFICATION_PRIVATE_HOTWORD_AUDIO_VERIFICATION_PRIVATE_API_H_

Powered by Google App Engine
This is Rietveld 408576698