[Content] Add deprecation to some not frequently used members
[platform/core/api/webapi-plugins.git] / src / content / js / manager.js
index 9381846..e3c0755 100755 (executable)
@@ -130,6 +130,10 @@ var ContentManagerUpdate = function(content) {
 };
 
 ContentManager.prototype.update = function() {
+    privUtils_.deprecationWarn(
+        'ContentManager.update() is deprecated since Tizen 9.0 with no replacement.',
+        '9.0'
+    );
     ContentManagerUpdate.apply(this, arguments);
 };
 
@@ -138,6 +142,10 @@ ContentManager.prototype.updateBatch = function(
     successCallback,
     errorCallback
 ) {
+    privUtils_.deprecationWarn(
+        'ContentManager.updateBatch() is deprecated since Tizen 9.0 with no replacement.',
+        '9.0'
+    );
     var args = validator_.validateArgs(arguments, [
         { name: 'contents', type: types_.ARRAY, values: Content },
         {