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

Unified Diff: chrome/browser/chromeos/drive/change_list_loader.cc

Issue 14271007: Remove public bool ChangeListLoader::loaded(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (loaded) Created 7 years, 8 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
Index: chrome/browser/chromeos/drive/change_list_loader.cc
diff --git a/chrome/browser/chromeos/drive/change_list_loader.cc b/chrome/browser/chromeos/drive/change_list_loader.cc
index b06e0a2beac82493d53a93edcef731babf3f7961..8eea57f8474316a1eed663ad5e367839a1d7198c 100644
--- a/chrome/browser/chromeos/drive/change_list_loader.cc
+++ b/chrome/browser/chromeos/drive/change_list_loader.cc
@@ -509,7 +509,7 @@ void ChangeListLoader::LoadIfNeeded(
// directory_fetch_info), we have nothing to do. For "fast fetch", we need to
// schedule a fetching if a feed refresh is currently running, because we
// don't want to wait a possibly large delta feed to arrive.
- if (loaded() && (directory_fetch_info.empty() || !IsRefreshing())) {
+ if (loaded_ && (directory_fetch_info.empty() || !IsRefreshing())) {
base::MessageLoopProxy::current()->PostTask(
FROM_HERE,
base::Bind(callback, DRIVE_FILE_OK));
@@ -603,7 +603,7 @@ void ChangeListLoader::CheckForUpdates(const FileOperationCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(!callback.is_null());
- if (loaded() && !IsRefreshing())
+ if (loaded_ && !IsRefreshing())
Load(DirectoryFetchInfo(), callback);
}
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_loader.h ('k') | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698