Index: chrome/browser/sync/glue/extension_util.h |
diff --git a/chrome/browser/sync/glue/extension_util.h b/chrome/browser/sync/glue/extension_util.h |
index 6433dfd83aa7c6af052816845ceb9341522e3728..d914a758d8ffdd23ad2dec855c3916afc59bd77d 100644 |
--- a/chrome/browser/sync/glue/extension_util.h |
+++ b/chrome/browser/sync/glue/extension_util.h |
@@ -14,6 +14,7 @@ |
class Extension; |
class ExtensionPrefs; |
class ExtensionServiceInterface; |
+struct ExtensionSyncData; |
struct UninstalledExtensionInfo; |
namespace sync_pb { |
@@ -84,12 +85,6 @@ void GetExtensionSpecifics(const Extension& extension, |
const ExtensionServiceInterface& extension_service, |
sync_pb::ExtensionSpecifics* specifics); |
-// Returns whether or not the extension should be updated according to |
-// the specifics. |extension| must be syncable and |specifics| must |
-// be valid. |
-bool IsExtensionOutdated(const Extension& extension, |
- const sync_pb::ExtensionSpecifics& specifics); |
- |
// Merge |specifics| into |merged_specifics|. Both must be valid and |
// have the same ID. The merge policy is currently to copy the |
// non-user properties of |specifics| into |merged_specifics| (and the |
@@ -100,6 +95,12 @@ void MergeExtensionSpecifics( |
bool merge_user_properties, |
sync_pb::ExtensionSpecifics* merged_specifics); |
+// Fills |sync_data| with the data from |specifics|. Returns true iff |
+// succesful. |
+bool GetExtensionSyncData( |
+ const sync_pb::ExtensionSpecifics& specifics, |
+ ExtensionSyncData* sync_data); |
+ |
} // namespace browser_sync |
#endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_UTIL_H_ |