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

Unified Diff: chrome/common/extensions/manifest_handlers/copresence_manifest.cc

Issue 901213003: Removing the project ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/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;
}
« no previous file with comments | « chrome/common/extensions/manifest_handlers/copresence_manifest.h ('k') | components/copresence/proto/data.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698