Index: content/browser/resources/gpu/browser_bridge.js |
diff --git a/content/browser/resources/gpu/browser_bridge.js b/content/browser/resources/gpu/browser_bridge.js |
index 1cf980fe74cab86c24adcb033b5e29f873f8e962..b835f44207ce8c5cfe871c53733cad16fb499b5a 100644 |
--- a/content/browser/resources/gpu/browser_bridge.js |
+++ b/content/browser/resources/gpu/browser_bridge.js |
@@ -156,6 +156,17 @@ cr.define('gpu', function() { |
return this.logMessages_; |
}, |
+ /** |
+ * Returns the value of the "Sandboxed" row. |
+ */ |
+ isSandboxedForTesting : function() { |
+ for (i = 0; i < this.gpuInfo_.basic_info.length; ++i) { |
+ var info = this.gpuInfo_.basic_info[i]; |
+ if (info.description == "Sandboxed") |
+ return info.value; |
+ } |
+ return false; |
+ } |
}; |
return { |