Index: chrome/test/data/extensions/api_test/webrequest_reload/background.js |
diff --git a/chrome/test/data/extensions/api_test/webrequest_reload/background.js b/chrome/test/data/extensions/api_test/webrequest_reload/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e8e55f401cd2a404c4492b3bb4862b48fe43bd71 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/webrequest_reload/background.js |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2013 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. |
+ |
+chrome.webRequest.onBeforeRequest.addListener( |
+ function(details) { |
+ }, |
+ { |
+ urls: [], |
+ types: [] |
+ }, |
+ []); |
+if (chrome.extension.inIncognitoContext) |
+ chrome.test.sendMessage("done_incognito"); |
+else |
+ chrome.test.sendMessage("done"); |