| 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 20e3c37d59b17bc9f95b992860de3a93d7048828..0ef410316c10f648cc403eba2a913daaca5d403a 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);
|
|
|