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

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

Issue 11308072: Include v2 packaged apps in sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment explaining index Created 8 years, 1 month 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.h
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.h b/chrome/browser/sync/test/integration/sync_extension_helper.h
index f754de528e87b21947b5c91ce3eab1e45d46d092..6cdca7d547439615f7382c5781ce9b39fb45be48 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.h
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.h
@@ -72,8 +72,7 @@ class SyncExtensionHelper {
// Installs all extensions pending sync in |profile| of the given
// type.
- void InstallExtensionsPendingForSync(Profile* profile,
- extensions::Extension::Type type);
+ void InstallExtensionsPendingForSync(Profile* profile);
// Returns true iff |profile1| and |profile2| have the same extensions and
// they are all in the same state.
@@ -96,6 +95,7 @@ class SyncExtensionHelper {
ExtensionNameMap;
typedef std::map<Profile*, ExtensionNameMap> ProfileExtensionNameMap;
typedef std::map<std::string, std::string> StringMap;
+ typedef std::map<std::string, extensions::Extension::Type> TypeMap;
friend struct DefaultSingletonTraits<SyncExtensionHelper>;
@@ -118,6 +118,7 @@ class SyncExtensionHelper {
ProfileExtensionNameMap profile_extensions_;
StringMap id_to_name_;
+ TypeMap id_to_type_;
bool setup_completed_;
DISALLOW_COPY_AND_ASSIGN(SyncExtensionHelper);

Powered by Google App Engine
This is Rietveld 408576698