Index: chrome/test/data/extensions/networking_config_delegate/background.js |
diff --git a/chrome/test/data/extensions/networking_config_delegate/background.js b/chrome/test/data/extensions/networking_config_delegate/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e996a3922d2a953eeaf71f2d91e1229e6adef27d |
--- /dev/null |
+++ b/chrome/test/data/extensions/networking_config_delegate/background.js |
@@ -0,0 +1,9 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Register this extension as the network handler for wifi1. |
+chrome.networking.config.setNetworkFilter([{Type: 'WiFi', SSID: 'wifi1'}], |
+ function() { |
+ chrome.test.sendMessage('done'); |
+ }); |