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

Unified Diff: chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc

Issue 10837338: Remove "GData" prefix from non-GData specific classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 4 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/gdata/gdata_wapi_feed_loader.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc b/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc
index 72765b796096d464d15673754ed7f8425232981f..ea568df1e50571959c9da390b5822ecba0d69024 100644
--- a/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc
+++ b/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc
@@ -270,6 +270,7 @@ void GDataWapiFeedLoader::ReloadFromServerIfNeeded(
DVLOG(1) << "ReloadFeedFromServerIfNeeded local_changestamp="
<< local_changestamp << ", initial_origin=" << initial_origin;
+#if 0
kochi 2012/08/21 05:09:23 Removed.
// First fetch the latest changestamp to see if there were any new changes
// there at all.
if (gdata::util::IsDriveV2ApiEnabled()) {
@@ -287,6 +288,7 @@ void GDataWapiFeedLoader::ReloadFromServerIfNeeded(
weak_ptr_factory_.GetWeakPtr()));
return;
}
+#endif
drive_service_->GetAccountMetadata(
base::Bind(&GDataWapiFeedLoader::OnGetAccountMetadata,
@@ -455,6 +457,7 @@ void GDataWapiFeedLoader::LoadFromServer(const LoadFeedParams& params) {
new std::vector<DocumentFeed*>);
const base::TimeTicks start_time = base::TimeTicks::Now();
+#if 0
kochi 2012/08/21 05:09:23 Removed.
if (gdata::util::IsDriveV2ApiEnabled()) {
drive_service_->GetDocuments(
params.feed_to_load,
@@ -476,6 +479,7 @@ void GDataWapiFeedLoader::LoadFromServer(const LoadFeedParams& params) {
start_time));
return;
}
+#endif
drive_service_->GetDocuments(
params.feed_to_load,
@@ -744,6 +748,7 @@ void GDataWapiFeedLoader::OnGetChangelist(
ui_state->num_fetched_documents = num_accumulated_entries;
ui_state->feed_fetching_elapsed_time = base::TimeTicks::Now() - start_time;
+#if 0
kochi 2012/08/21 05:09:23 Removed.
// Kick off the remaining part of the feeds.
drive_service_->GetDocuments(
current_feed->next_link(),
@@ -764,6 +769,7 @@ void GDataWapiFeedLoader::OnGetChangelist(
params->callback,
NULL)),
start_time));
+#endif
return;
}

Powered by Google App Engine
This is Rietveld 408576698