| Index: chrome/common/extensions/manifest_handlers/copresence_manifest.cc
|
| diff --git a/chrome/common/extensions/manifest_handlers/copresence_manifest.cc b/chrome/common/extensions/manifest_handlers/copresence_manifest.cc
|
| index 55a826994a9778f47dfb5d3e8af5b52d55a3f6b4..dca92f2a3adbf6104f709bdf4fa5daed05c61c42 100644
|
| --- a/chrome/common/extensions/manifest_handlers/copresence_manifest.cc
|
| +++ b/chrome/common/extensions/manifest_handlers/copresence_manifest.cc
|
| @@ -30,10 +30,10 @@ bool CopresenceManifestHandler::Parse(Extension* extension,
|
| }
|
|
|
| scoped_ptr<CopresenceManifestData> manifest_data(new CopresenceManifestData);
|
| - if (!copresence_config->GetString(manifest_values::kProjectId,
|
| - &manifest_data->project_id) ||
|
| - manifest_data->project_id.empty()) {
|
| - *error = base::ASCIIToUTF16(manifest_errors::kInvalidCopresenceProjectId);
|
| + if (!copresence_config->GetString(manifest_values::kApiKey,
|
| + &manifest_data->api_key) ||
|
| + manifest_data->api_key.empty()) {
|
| + *error = base::ASCIIToUTF16(manifest_errors::kInvalidCopresenceApiKey);
|
| return false;
|
| }
|
|
|
|
|