From 50d312b986d3e9d4a4326f348c49bef325dbb611 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen <allan.jensen@qt.io>
Date: Mon, 25 Mar 2019 11:20:06 +0100
Subject: [PATCH] Update network traffic annotations and description for
 devtools policies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Following https://chromium-review.googlesource.com/1074753

Change-Id: Idba6062b978fcff07d6fcb827d863605f06fcf9f
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
---
 src/core/devtools_frontend_qt.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/devtools_frontend_qt.cpp b/src/core/devtools_frontend_qt.cpp
index 0977f5afb..4531f80a8 100644
--- a/src/core/devtools_frontend_qt.cpp
+++ b/src/core/devtools_frontend_qt.cpp
@@ -400,9 +400,9 @@ void DevToolsFrontendQt::HandleMessageFromDevToolsFrontend(const std::string &me
                   setting:
                     "It's not possible to disable this feature from settings."
                   chrome_policy {
-                    DeveloperToolsDisabled {
+                    DeveloperToolsAvailability {
                       policy_options {mode: MANDATORY}
-                      DeveloperToolsDisabled: true
+                      DeveloperToolsAvailability: 2
                     }
                   }
                 })");
-- 
GitLab