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

Unified Diff: content/renderer/background_sync/background_sync_client_impl.cc

Issue 1575763002: Make `content` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_disallow_copy_assign_linux_only
Patch Set: fix unit test Created 4 years, 11 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: content/renderer/background_sync/background_sync_client_impl.cc
diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc
index 24630e35c24592f23132d447cd59aa910402379d..4b1c928c0ee2b6fb23bfd59416a848213e75c43b 100644
--- a/content/renderer/background_sync/background_sync_client_impl.cc
+++ b/content/renderer/background_sync/background_sync_client_impl.cc
@@ -19,20 +19,15 @@ namespace content {
// static
void BackgroundSyncClientImpl::Create(
- int64_t service_worker_registration_id,
mojo::InterfaceRequest<BackgroundSyncServiceClient> request) {
- new BackgroundSyncClientImpl(service_worker_registration_id,
- std::move(request));
+ new BackgroundSyncClientImpl(std::move(request));
}
BackgroundSyncClientImpl::~BackgroundSyncClientImpl() {}
BackgroundSyncClientImpl::BackgroundSyncClientImpl(
- int64_t service_worker_registration_id,
mojo::InterfaceRequest<BackgroundSyncServiceClient> request)
- : service_worker_registration_id_(service_worker_registration_id),
- binding_(this, std::move(request)),
- callback_seq_num_(0) {}
+ : binding_(this, std::move(request)), callback_seq_num_(0) {}
void BackgroundSyncClientImpl::Sync(
int64_t handle_id,
« no previous file with comments | « content/renderer/background_sync/background_sync_client_impl.h ('k') | content/renderer/renderer_main_platform_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698