[chrome-gnome-shell] Allow setUserExtensionsDisabled & setVersionValidationDisabled methods



commit 49e0205b268f3b36ed3476737f42dab155ac563a
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Mon Jan 7 21:27:12 2019 +0400

    Allow setUserExtensionsDisabled & setVersionValidationDisabled methods

 extension/extension.js | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/extension/extension.js b/extension/extension.js
index 57cc50d..8a851d0 100644
--- a/extension/extension.js
+++ b/extension/extension.js
@@ -62,6 +62,11 @@ chrome.runtime.onMessageExternal.addListener(function (request, sender, sendResp
                                                sendResponse
                                        );
                                        return true;
+
+                               case 'setUserExtensionsDisabled':
+                               case 'setVersionValidationDisabled':
+                                       GSC.sendNativeRequest({execute: request.execute, disable: 
request.disable ? true : false}, sendResponse);
+                                       return true;
                        }
                }
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]