summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/syncable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/syncable/syncable.cc')
-rw-r--r--chrome/browser/sync/syncable/syncable.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/sync/syncable/syncable.cc b/chrome/browser/sync/syncable/syncable.cc
index 08a7bf5..87479a2 100644
--- a/chrome/browser/sync/syncable/syncable.cc
+++ b/chrome/browser/sync/syncable/syncable.cc
@@ -39,6 +39,7 @@
#include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
#include "chrome/browser/sync/protocol/preference_specifics.pb.h"
#include "chrome/browser/sync/protocol/service_constants.h"
+#include "chrome/browser/sync/protocol/theme_specifics.pb.h"
#include "chrome/browser/sync/protocol/typed_url_specifics.pb.h"
#include "chrome/browser/sync/syncable/directory_backing_store.h"
#include "chrome/browser/sync/syncable/directory_manager.h"
@@ -1058,6 +1059,8 @@ syncable::ModelType Entry::GetServerModelType() const {
return PREFERENCES;
if (Get(SERVER_SPECIFICS).HasExtension(sync_pb::autofill))
return AUTOFILL;
+ if (Get(SERVER_SPECIFICS).HasExtension(sync_pb::theme))
+ return THEMES;
if (Get(SERVER_SPECIFICS).HasExtension(sync_pb::typed_url))
return TYPED_URLS;
if (IsRoot())
@@ -1087,6 +1090,8 @@ syncable::ModelType Entry::GetModelType() const {
return PREFERENCES;
if (Get(SPECIFICS).HasExtension(sync_pb::autofill))
return AUTOFILL;
+ if (Get(SPECIFICS).HasExtension(sync_pb::theme))
+ return THEMES;
if (Get(SPECIFICS).HasExtension(sync_pb::typed_url))
return TYPED_URLS;
if (IsRoot())