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

Unified Diff: chrome/browser/sync/syncable/model_type.h

Issue 7453014: [Sync] Refactor sync datatype error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix compile Created 9 years, 5 months 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/syncable/model_type.h
diff --git a/chrome/browser/sync/syncable/model_type.h b/chrome/browser/sync/syncable/model_type.h
index d8582a3d9efd8f31e22a7e5f1cc44ab6aebba4dd..b2b7402c070145252fe1659d51b694c5e3cd38cc 100644
--- a/chrome/browser/sync/syncable/model_type.h
+++ b/chrome/browser/sync/syncable/model_type.h
@@ -162,6 +162,9 @@ bool RealModelTypeToint(ModelType model_type,
bool intToRealModelType(const std::string& notification_type,
ModelType* model_type);
+// Returns true if |model_type| is a valid datatype
+bool IsDataTypeValid(ModelType model_type);
akalin 2011/07/21 23:03:53 I don't know if "valid" is the right adjective. M
Nicolas Zea 2011/07/21 23:43:26 Done.
+
} // namespace syncable
#endif // CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698