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

Unified Diff: chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc
index 289f9836050bc2b2dcf8df97212cf34431c64c2e..54e0c265c223a4ce5af4c66eb668d606a15c494b 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc
@@ -88,6 +88,7 @@ void DidProcessRemoteChange(SyncStatusCode* status_out,
*url_out = url;
}
+#if !defined(OS_ANDROID)
void DidGetRemoteVersions(
SyncStatusCode* status_out,
std::vector<RemoteFileSyncService::Version>* versions_out,
@@ -105,6 +106,7 @@ void DidDownloadRemoteVersion(
*status_out = status;
*downloaded_out = downloaded.Pass();
}
+#endif // !defined(OS_ANDROID)
void ExpectEqStatus(bool* done,
SyncStatusCode expected,
@@ -144,6 +146,7 @@ GURL ExtensionNameToGURL(const std::string& extension_name) {
ExtensionNameToId(extension_name));
}
+#if !defined(OS_ANDROID)
ACTION(InvokeCompletionCallback) {
base::MessageLoopProxy::current()->PostTask(FROM_HERE, arg2);
}
@@ -179,6 +182,7 @@ ACTION(InvokeDidApplyRemoteChange) {
base::MessageLoopProxy::current()->PostTask(
FROM_HERE, base::Bind(arg3, SYNC_STATUS_OK));
}
+#endif // !defined(OS_ANDROID)
} // namespace
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_linux.cc ('k') | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698