OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 var thirdPartyPath = '/talkgadget/oauth/chrome-remote-desktop/thirdpartyauth'; | |
6 | |
7 if (window.location.pathname == thirdPartyPath) { | |
8 chrome.extension.sendMessage(window.location.href); | |
Jamie
2013/03/28 23:29:36
It would be more future-proof to make this a struc
rmsousa
2013/03/29 04:08:21
The sendMessage parameter is string typed. passing
| |
9 window.close(); | |
10 } | |
OLD | NEW |