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

Side by Side Diff: content/renderer/background_sync/background_sync_client_impl.h

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: no deps 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_
6 #define CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_ 6 #define CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 24 matching lines...) Expand all
35 // BackgroundSyncServiceClient methods: 35 // BackgroundSyncServiceClient methods:
36 void Sync(int64_t handle_id, 36 void Sync(int64_t handle_id,
37 content::BackgroundSyncEventLastChance last_chance, 37 content::BackgroundSyncEventLastChance last_chance,
38 const SyncCallback& callback) override; 38 const SyncCallback& callback) override;
39 void SyncDidGetRegistration( 39 void SyncDidGetRegistration(
40 int64_t callback_id, 40 int64_t callback_id,
41 content::BackgroundSyncEventLastChance last_chance, 41 content::BackgroundSyncEventLastChance last_chance,
42 BackgroundSyncError error, 42 BackgroundSyncError error,
43 SyncRegistrationPtr registration); 43 SyncRegistrationPtr registration);
44 44
45 int64_t service_worker_registration_id_;
46 mojo::StrongBinding<BackgroundSyncServiceClient> binding_; 45 mojo::StrongBinding<BackgroundSyncServiceClient> binding_;
47 46
48 int64_t callback_seq_num_; 47 int64_t callback_seq_num_;
49 std::map<int64_t, SyncCallback> sync_callbacks_; 48 std::map<int64_t, SyncCallback> sync_callbacks_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncClientImpl); 50 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncClientImpl);
52 }; 51 };
53 52
54 } // namespace content 53 } // namespace content
55 54
56 #endif // CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_ 55 #endif // CONTENT_RENDERER_BACKGROUND_SYNC_BACKGROUND_SYNC_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698