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

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

Issue 10920017: [Sync] Generalize StringOrdinal to handle ordinal_in_parent field (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Relax tests Created 8 years, 3 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/unpacked_installer.cc
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
index 00b7c4699a8082fde1e10b8265832a2f5008c745..80307c0d25743f80e161e5817983721bb3102ce8 100644
--- a/chrome/browser/extensions/unpacked_installer.cc
+++ b/chrome/browser/extensions/unpacked_installer.cc
@@ -15,7 +15,7 @@
#include "chrome/browser/extensions/permissions_updater.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_file_util.h"
-#include "chrome/common/string_ordinal.h"
+#include "sync/api/string_ordinal.h"
using content::BrowserThread;
using extensions::Extension;
@@ -67,7 +67,7 @@ void SimpleExtensionLoadPrompt::InstallUIProceed() {
extensions::PermissionsUpdater perms_updater(service_weak_->profile());
perms_updater.GrantActivePermissions(extension_, false);
service_weak_->OnExtensionInstalled(
- extension_, false, StringOrdinal()); // Not from web store.
+ extension_, false, syncer::StringOrdinal()); // Not from web store.
}
delete this;
}
@@ -237,7 +237,7 @@ void UnpackedInstaller::OnLoaded(
perms_updater.GrantActivePermissions(extension, false);
service_weak_->OnExtensionInstalled(extension,
false, // Not from web store.
- StringOrdinal());
+ syncer::StringOrdinal());
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698