| Index: chrome/browser/extensions/api/system_private/system_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/system_private/system_private_api.cc b/chrome/browser/extensions/api/system_private/system_private_api.cc
|
| index 4a5654b760c793cd5eba708e286e41ed4fa97fc2..3152279cfde205e5ae351528b35c98e061ee86f5 100644
|
| --- a/chrome/browser/extensions/api/system_private/system_private_api.cc
|
| +++ b/chrome/browser/extensions/api/system_private/system_private_api.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/extensions/api/system_private.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "google_apis/google_api_keys.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "chromeos/dbus/dbus_thread_manager.h"
|
| @@ -132,6 +133,11 @@ bool SystemPrivateGetUpdateStatusFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| +bool SystemPrivateGetApiKeyFunction::RunImpl() {
|
| + SetResult(new base::StringValue(google_apis::GetAPIKey()));
|
| + return true;
|
| +}
|
| +
|
| void DispatchVolumeChangedEvent(double volume, bool is_volume_muted) {
|
| base::DictionaryValue* dict = new base::DictionaryValue();
|
| dict->SetDouble(kVolumeKey, volume);
|
|
|