Move WebstoreInstaller, WebstoreInlineInstaller, related in extensions namespace
BUG=136833, 117261
Review URL: https://chromiumcodereview.appspot.com/10703142
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146407 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index 551be76..09c7f40 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -34,6 +34,8 @@
using content::UtilityProcessHostClient;
using content::WebContents;
+namespace extensions {
+
const char kManifestKey[] = "manifest";
const char kIconUrlKey[] = "icon_url";
const char kLocalizedNameKey[] = "localized_name";
@@ -164,7 +166,7 @@
void WebstoreInlineInstaller::BeginInstall() {
AddRef(); // Balanced in CompleteInstall or WebContentsDestroyed.
- if (!extensions::Extension::IdIsValid(id_)) {
+ if (!Extension::IdIsValid(id_)) {
CompleteInstall(kInvalidWebstoreItemId);
return;
}
@@ -455,3 +457,5 @@
return verified_site_pattern.MatchesURL(requestor_url);
}
+
+} // namespace extensions