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..5c76b32576b119c5c4e54122c867b0c5fd7a1971 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. |
Jorge Lucangeli Obes
2015/11/04 18:04:44
Nit: I'd make it even more evident:
Returns the v
achuithb
2015/11/04 18:10:52
Done.
|
+ */ |
+ 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 { |