Index: chrome/test/data/extensions/platform_apps/component_reload/background.js |
diff --git a/chrome/test/data/extensions/platform_apps/component_reload/background.js b/chrome/test/data/extensions/platform_apps/component_reload/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a09644e37a14308de38d8e958c9c7660efc3270e |
--- /dev/null |
+++ b/chrome/test/data/extensions/platform_apps/component_reload/background.js |
@@ -0,0 +1,8 @@ |
+// Copyright 2017 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.test.sendMessage('Launched', function(response) { |
+ if (response == "reload") |
Devlin
2017/06/02 01:57:28
nit: do we expect any other response? If not, may
lazyboy
2017/06/02 18:35:37
Done.
|
+ chrome.runtime.reload(); |
+}); |