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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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/extension_webstore_private_api.cc
diff --git a/chrome/browser/extensions/extension_webstore_private_api.cc b/chrome/browser/extensions/extension_webstore_private_api.cc
index b3efdd869348920731f4c6460f8b692d065ff747..6ec68768015298f65c796d98e01c0e7e6026305f 100644
--- a/chrome/browser/extensions/extension_webstore_private_api.cc
+++ b/chrome/browser/extensions/extension_webstore_private_api.cc
@@ -259,7 +259,7 @@ bool BeginInstallWithManifestFunction::RunImpl() {
CHECK(details);
EXTENSION_FUNCTION_VALIDATE(details->GetString(kIdKey, &id_));
- if (!Extension::IdIsValid(id_)) {
+ if (!extensions::Extension::IdIsValid(id_)) {
SetResult(INVALID_ID);
error_ = kInvalidIdError;
return false;
@@ -450,7 +450,7 @@ void BeginInstallWithManifestFunction::InstallUIAbort(bool user_initiated) {
bool CompleteInstallFunction::RunImpl() {
std::string id;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id));
- if (!Extension::IdIsValid(id)) {
+ if (!extensions::Extension::IdIsValid(id)) {
error_ = kInvalidIdError;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698