diff options
author | jamiewalch <jamiewalch@chromium.org> | 2015-03-02 15:11:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-02 23:12:19 +0000 |
commit | 7b6ab410b0665dcb84c2818f4453b36f2c5a1e36 (patch) | |
tree | 015464cd9f7f1fb40b2f61c3ea350b5e6849c47c /ash/BUILD.gn | |
parent | 3b0ed8bb4f9d4e72a4f0816fd37ca68828da5135 (diff) | |
download | chromium_src-7b6ab410b0665dcb84c2818f4453b36f2c5a1e36.zip chromium_src-7b6ab410b0665dcb84c2818f4453b36f2c5a1e36.tar.gz chromium_src-7b6ab410b0665dcb84c2818f4453b36f2c5a1e36.tar.bz2 |
Remove getCached* methods from remoting.Identity.
These methods were introduced before Promises were implemented to simplify
code that just needs an email address but wouldn't otherwise need to be
written asynchronously. With Promises, asynchronous code reads a lot more
naturally, and it's less of a concern.
Having explicit accessors for cached state means that there needs to be
some (asynchronous) initialization code to save them, which complicates
some of the changes I'm planning on making to application start-up. The
simplest fix is eliminate them altogether and make all the call-sites
asynchronous.
Review URL: https://codereview.chromium.org/963103004
Cr-Commit-Position: refs/heads/master@{#318794}
Diffstat (limited to 'ash/BUILD.gn')
0 files changed, 0 insertions, 0 deletions