Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2515)

Unified Diff: chrome/browser/resources/gaia_auth/main.js

Issue 10440061: Remaining style fixes from http://codereview.chromium.org/10443024/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/gaia_auth/main.html ('k') | chrome/browser/resources/gaia_auth/offline.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/gaia_auth/main.js
diff --git a/chrome/browser/resources/gaia_auth/main.js b/chrome/browser/resources/gaia_auth/main.js
index ada03a507fafc9652b09d3dfcf76efb7181dcd1a..8a40128f0cc1003c18e32aed7ff8917f7151a619 100644
--- a/chrome/browser/resources/gaia_auth/main.js
+++ b/chrome/browser/resources/gaia_auth/main.js
@@ -1,3 +1,7 @@
+// Copyright (c) 2012 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.
+
function Authenticator() {
}
@@ -26,8 +30,6 @@ Authenticator.prototype = {
PARENT_PAGE: 'chrome://oobe/',
initialize: function() {
- console.log('### Authenticator.initialize');
-
var params = getUrlSearchParams(location.search);
this.gaiaOrigin_ = params['gaiaOrigin'] || this.GAIA_PAGE_ORIGIN;
this.gaiaUrlPath_ = params['gaiaUrlPath'] || '';
@@ -71,7 +73,6 @@ Authenticator.prototype = {
},
loadFrame_: function() {
- console.log('Authenticator loading GAIA frame from ' + this.getFrameUrl_());
$('gaia-frame').src = this.getFrameUrl_();
},
@@ -85,12 +86,10 @@ Authenticator.prototype = {
'method': 'loginUILoaded'
};
window.parent.postMessage(msg, this.PARENT_PAGE);
- console.log('### Authenticator.onLoginUILoaded.');
},
onMessage: function(e) {
var msg = e.data;
- console.log('#### Authenticator.onMessage: method=' + msg.method);
if (msg.method == 'attemptLogin' && this.isGaiaMessage_(e)) {
this.email_ = msg.email;
this.password_ = msg.password;
@@ -117,6 +116,5 @@ Authenticator.prototype = {
}
};
-console.log('#### main.html start');
Authenticator.getInstance().initialize();
« no previous file with comments | « chrome/browser/resources/gaia_auth/main.html ('k') | chrome/browser/resources/gaia_auth/offline.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698