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

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 6 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 f2d11354763c53807804b97fe372ca3d5d1a4622..8aa813bef31fcc6131209e5e6e82536eb962c97c 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;
@@ -448,7 +448,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