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

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

Issue 8789018: Revert 113047 - Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/sync_extension_helper.cc
===================================================================
--- chrome/browser/sync/test/integration/sync_extension_helper.cc (revision 113069)
+++ chrome/browser/sync/test/integration/sync_extension_helper.cc (working copy)
@@ -78,22 +78,22 @@
std::vector<std::string> names;
ExtensionService* extension_service = profile->GetExtensionService();
- const ExtensionSet* extensions = extension_service->extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ const ExtensionList* extensions = extension_service->extensions();
+ for (ExtensionList::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
names.push_back((*it)->name());
}
- const ExtensionSet* disabled_extensions =
+ const ExtensionList* disabled_extensions =
extension_service->disabled_extensions();
- for (ExtensionSet::const_iterator it = disabled_extensions->begin();
+ for (ExtensionList::const_iterator it = disabled_extensions->begin();
it != disabled_extensions->end(); ++it) {
names.push_back((*it)->name());
}
- const ExtensionSet* terminated_extensions =
+ const ExtensionList* terminated_extensions =
extension_service->terminated_extensions();
- for (ExtensionSet::const_iterator it = terminated_extensions->begin();
+ for (ExtensionList::const_iterator it = terminated_extensions->begin();
it != terminated_extensions->end(); ++it) {
names.push_back((*it)->name());
}
@@ -180,8 +180,8 @@
ExtensionService* extension_service = profile->GetExtensionService();
- const ExtensionSet* extensions = extension_service->extensions();
- for (ExtensionSet::const_iterator it = extensions->begin();
+ const ExtensionList* extensions = extension_service->extensions();
+ for (ExtensionList::const_iterator it = extensions->begin();
it != extensions->end(); ++it) {
const std::string& id = (*it)->id();
extension_state_map[id].enabled_state = ExtensionState::ENABLED;
@@ -191,9 +191,9 @@
<< profile_debug_name << " is enabled";
}
- const ExtensionSet* disabled_extensions =
+ const ExtensionList* disabled_extensions =
extension_service->disabled_extensions();
- for (ExtensionSet::const_iterator it = disabled_extensions->begin();
+ for (ExtensionList::const_iterator it = disabled_extensions->begin();
it != disabled_extensions->end(); ++it) {
const std::string& id = (*it)->id();
extension_state_map[id].enabled_state = ExtensionState::DISABLED;
Property changes on: chrome/browser/sync/test/integration/sync_extension_helper.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698