summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/event_handlers.js
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-09 16:45:16 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-09 16:45:16 +0000
commit4ccf21a08bdcf8fc040209b85da91be67900fabf (patch)
treebdae5ef41bb3ba4cc61ecba4c1d2278f041dd556 /remoting/webapp/event_handlers.js
parentdae5717306e82ff5ac20c11f7b31ac8cc8af9d6d (diff)
downloadchromium_src-4ccf21a08bdcf8fc040209b85da91be67900fabf.zip
chromium_src-4ccf21a08bdcf8fc040209b85da91be67900fabf.tar.gz
chromium_src-4ccf21a08bdcf8fc040209b85da91be67900fabf.tar.bz2
[Chromoting] Clear all localStorage when the user signs out.
BUG=122091 Review URL: https://chromiumcodereview.appspot.com/10022001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/event_handlers.js')
-rw-r--r--remoting/webapp/event_handlers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js
index 98b6a1c..778c160 100644
--- a/remoting/webapp/event_handlers.js
+++ b/remoting/webapp/event_handlers.js
@@ -44,7 +44,7 @@ function onLoad() {
};
/** @type {Array.<{event: string, id: string, fn: function(Event):void}>} */
var actions = [
- { event: 'click', id: 'clear-oauth', fn: remoting.clearOAuth2 },
+ { event: 'click', id: 'sign-out', fn: remoting.signOut },
{ event: 'click', id: 'toolbar-disconnect', fn: remoting.disconnect },
{ event: 'click', id: 'send-ctrl-alt-del',
fn: remoting.sendCtrlAltDel },