forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drive: Simplify My Drive resource ID filling logic
The old code was filling My Drive's resource ID by specially handling the grand root. Get rid of this complexity by filling My Drive resource ID just after getting AboutResource. Fill My Drive resource ID and get largest changestamp at the same time. (new function named CheckLocalState was created,) Move empty resource ID check to after CheckLocalState. BUG=340931 TEST=unit_tests Review URL: https://codereview.chromium.org/196923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257858 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
hashimoto@chromium.org
committed
Mar 19, 2014
1 parent
e3352df
commit 8542d3c
Showing
3 changed files
with
103 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters