Index: chrome/browser/chromeos/policy/app_pack_updater.cc |
diff --git a/chrome/browser/chromeos/policy/app_pack_updater.cc b/chrome/browser/chromeos/policy/app_pack_updater.cc |
index 1edc7bf4c9f27401c1dce8c00a1545741ef2286a..61fe56f94512bc609d320c7c722df6f3fc7d3447 100644 |
--- a/chrome/browser/chromeos/policy/app_pack_updater.cc |
+++ b/chrome/browser/chromeos/policy/app_pack_updater.cc |
@@ -43,9 +43,6 @@ const char kCRXFileExtension[] = ".crx"; |
} // namespace |
-const char AppPackUpdater::kExtensionId[] = "extension-id"; |
-const char AppPackUpdater::kUpdateUrl[] = "update-url"; |
- |
// A custom extensions::ExternalLoader that the AppPackUpdater creates and uses |
// to publish AppPack updates to the extensions system. |
class AppPackExternalLoader |
@@ -191,8 +188,8 @@ void AppPackUpdater::LoadPolicy() { |
} |
std::string id; |
std::string update_url; |
- if (dict->GetString(kExtensionId, &id) && |
- dict->GetString(kUpdateUrl, &update_url)) { |
+ if (dict->GetString(chromeos::kAppPackKeyExtensionId, &id) && |
+ dict->GetString(chromeos::kAppPackKeyUpdateUrl, &update_url)) { |
app_pack_extensions_[id] = update_url; |
} else { |
LOG(WARNING) << "Failed to read required fields for an AppPack entry, " |