Chromium Code Reviews| 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 c0364e8543a014d23320904ba06c5637169613e4..6b413e6ff0a67eae6b43d29abd4c8c881d21f70e 100644 |
| --- a/chrome/browser/resources/gaia_auth/main.js |
| +++ b/chrome/browser/resources/gaia_auth/main.js |
| @@ -56,6 +56,7 @@ Authenticator.prototype = { |
| this.continueUrl_.substring(0, this.continueUrl_.indexOf('?')) || |
| this.continueUrl_; |
| this.inlineMode_ = params.inlineMode; |
| + this.partitionId_ = params.partitionId || ''; |
| document.addEventListener('DOMContentLoaded', this.onPageLoad.bind(this)); |
| document.addEventListener('enableSAML', this.onEnableSAML_.bind(this)); |
| @@ -128,6 +129,7 @@ Authenticator.prototype = { |
| loadFrame_: function() { |
| var gaiaFrame = $('gaia-frame'); |
| + gaiaFrame.partition = this.partitionId_; |
|
lazyboy
2013/11/04 21:08:29
I'm wondering since partitionId_ is an increasing
guohui
2013/11/05 14:35:36
this is ok. In our use case, we always want a clea
|
| gaiaFrame.src = this.getFrameUrl_(); |
| if (this.inlineMode_) { |
| gaiaFrame.addEventListener( |