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

Unified Diff: chrome/browser/extensions/api/system_private/system_private_api.h

Issue 27034009: Implement Google network speech synthesis (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix getApiKey description Created 7 years, 2 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/system_private/system_private_api.h
diff --git a/chrome/browser/extensions/api/system_private/system_private_api.h b/chrome/browser/extensions/api/system_private/system_private_api.h
index 06194a850377d18e59dc4885bcec12aa5ce51289..6328d8088b4f5fed51af03a9b844d2c1dde93ebc 100644
--- a/chrome/browser/extensions/api/system_private/system_private_api.h
+++ b/chrome/browser/extensions/api/system_private/system_private_api.h
@@ -38,6 +38,18 @@ class SystemPrivateGetUpdateStatusFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
+// API function which returns the Google API key.
+class SystemPrivateGetApiKeyFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("systemPrivate.getApiKey", SYSTEMPRIVATE_GETAPIKEY)
+
+ protected:
+ virtual ~SystemPrivateGetApiKeyFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
+};
+
// Dispatches systemPrivate.onBrightnessChanged event for extensions.
void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);

Powered by Google App Engine
This is Rietveld 408576698