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

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: Add operator= 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..2130443b9e65f57a46f5ce0459b92381f45ba5af 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
akalin 2011/07/22 00:10:05 Change comment to "...is a real data type."
Nicolas Zea 2011/07/25 20:57:28 Done.
+bool IsRealDataType(ModelType model_type);
+
} // namespace syncable
#endif // CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698