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

Unified Diff: chrome/browser/extensions/webstore_inline_installer.cc

Issue 10703142: Move WebstoreInstaller, WebstoreInlineInstaller, related in extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest merge with master for cq Created 8 years, 5 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/browser/extensions/webstore_inline_installer.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index 551be76939b94fa247dcbee6cd0296b581ecb42f..09c7f40eb8a095c4a67aa1c6c841bbb38cb432b8 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -34,6 +34,8 @@ using content::UtilityProcessHost;
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 @@ WebstoreInlineInstaller::WebstoreInlineInstaller(WebContents* web_contents,
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 @@ bool WebstoreInlineInstaller::IsRequestorURLInVerifiedSite(
return verified_site_pattern.MatchesURL(requestor_url);
}
+
+} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/webstore_inline_installer.h ('k') | chrome/browser/extensions/webstore_inline_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698