Index: chrome/test/live_sync/live_extensions_sync_test.cc |
diff --git a/chrome/test/live_sync/live_extensions_sync_test.cc b/chrome/test/live_sync/live_extensions_sync_test.cc |
index 9b4f92bcdc3c45ee12d1953c232f1965a6426ff4..ba4afeade6b9687048fc9540d4b5502eeb34feca 100644 |
--- a/chrome/test/live_sync/live_extensions_sync_test.cc |
+++ b/chrome/test/live_sync/live_extensions_sync_test.cc |
@@ -31,13 +31,7 @@ bool LiveExtensionsSyncTest::SetupClients() { |
} |
bool LiveExtensionsSyncTest::HasSameExtensionsAsVerifier(int index) { |
- LiveSyncExtensionHelper::ExtensionStateMap |
- verifier_extension_state_map( |
- extension_helper_.GetExtensionStates(verifier())); |
- LiveSyncExtensionHelper::ExtensionStateMap |
- extension_state_map( |
- extension_helper_.GetExtensionStates(GetProfile(index))); |
- return (extension_state_map == verifier_extension_state_map); |
+ return extension_helper_.ExtensionStatesMatch(GetProfile(index), verifier()); |
} |
bool LiveExtensionsSyncTest::AllProfilesHaveSameExtensionsAsVerifier() { |
@@ -62,6 +56,28 @@ void LiveExtensionsSyncTest::UninstallExtension(Profile* profile, int index) { |
CreateFakeExtensionName(index)); |
} |
+void LiveExtensionsSyncTest::EnableExtension(Profile* profile, int index) { |
+ return extension_helper_.EnableExtension(profile, |
+ CreateFakeExtensionName(index)); |
+} |
+ |
+void LiveExtensionsSyncTest::DisableExtension(Profile* profile, int index) { |
+ return extension_helper_.DisableExtension(profile, |
+ CreateFakeExtensionName(index)); |
+} |
+ |
+void LiveExtensionsSyncTest::IncognitoEnableExtension(Profile* profile, |
+ int index) { |
+ return extension_helper_.IncognitoEnableExtension( |
+ profile, CreateFakeExtensionName(index)); |
+} |
+ |
+void LiveExtensionsSyncTest::IncognitoDisableExtension(Profile* profile, |
+ int index) { |
+ return extension_helper_.IncognitoDisableExtension( |
+ profile, CreateFakeExtensionName(index)); |
+} |
+ |
void LiveExtensionsSyncTest::InstallExtensionsPendingForSync( |
Profile* profile) { |
extension_helper_.InstallExtensionsPendingForSync( |