[Sync] Move some extension-sync-related logic to ExtensionService
Add ExtensionSyncData class to hold the data that goes between the
extension service and extension sync.
Add ProcessSyncData() method to ExtensionService (with unit tests!).
Remove now-unneeded extension sync functions.
BUG=77995
TEST=
Review URL: http://codereview.chromium.org/6852029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81899 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_sync_data.cc b/chrome/browser/extensions/extension_sync_data.cc
new file mode 100644
index 0000000..0ef75b62
--- /dev/null
+++ b/chrome/browser/extensions/extension_sync_data.cc
@@ -0,0 +1,10 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/extensions/extension_sync_data.h"
+
+ExtensionSyncData::ExtensionSyncData()
+ : uninstalled(false), enabled(false), incognito_enabled(false) {}
+
+ExtensionSyncData::~ExtensionSyncData() {}