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

Unified Diff: chrome/browser/sync/test/integration/sync_extension_helper.cc

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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/sync/test/integration/sync_extension_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
index 912c969c9d87b5096a2894c4d860fa0871a0b264..c77d40ab7677bbfdb408fcbd01d7076e53afa11a 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
@@ -17,6 +17,7 @@
#include "extensions/browser/pending_extension_info.h"
#include "extensions/browser/pending_extension_manager.h"
#include "extensions/common/extension.h"
+#include "extensions/common/extension_set.h"
#include "extensions/common/id_util.h"
#include "extensions/common/manifest_constants.h"
#include "sync/api/string_ordinal.h"
@@ -87,9 +88,9 @@ std::vector<std::string> SyncExtensionHelper::GetInstalledExtensionNames(
std::vector<std::string> names;
ExtensionService* extension_service = profile->GetExtensionService();
- scoped_ptr<const ExtensionSet> extensions(
+ scoped_ptr<const extensions::ExtensionSet> extensions(
extension_service->GenerateInstalledExtensionsSet());
- for (ExtensionSet::const_iterator it = extensions->begin();
+ for (extensions::ExtensionSet::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
names.push_back((*it)->name());
}
@@ -188,9 +189,9 @@ SyncExtensionHelper::ExtensionStateMap
ExtensionService* extension_service = profile->GetExtensionService();
- scoped_ptr<const ExtensionSet> extensions(
+ scoped_ptr<const extensions::ExtensionSet> extensions(
extension_service->GenerateInstalledExtensionsSet());
- for (ExtensionSet::const_iterator it = extensions->begin();
+ for (extensions::ExtensionSet::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
const std::string& id = (*it)->id();
extension_state_map[id].enabled_state =

Powered by Google App Engine
This is Rietveld 408576698