summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-02-24 12:55:21 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-24 20:56:11 +0000
commit33895d99a4d329bd617013bcf4b49732c57d26f5 (patch)
tree0287b62fda5658097ab25dba1926006e7d2cc5d6
parent1c5a91494d8f96fb5c59029af46e0d39a781ee59 (diff)
downloadchromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.zip
chromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.tar.gz
chromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.tar.bz2
content: Add out-of-line copy ctors for complex classes.
This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=sievers@chromium.org, dcheng@chromium.org, thakis@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1728043002 Cr-Commit-Position: refs/heads/master@{#377378}
-rw-r--r--content/browser/appcache/appcache_database.cc2
-rw-r--r--content/browser/appcache/appcache_database.h1
-rw-r--r--content/browser/appcache/appcache_disk_cache.cc2
-rw-r--r--content/browser/appcache/appcache_disk_cache.h2
-rw-r--r--content/browser/appcache/appcache_update_job.cc2
-rw-r--r--content/browser/appcache/appcache_update_job.h1
-rw-r--r--content/browser/background_sync/background_sync_manager.cc3
-rw-r--r--content/browser/background_sync/background_sync_manager.h1
-rw-r--r--content/browser/dom_storage/dom_storage_host.cc2
-rw-r--r--content/browser/dom_storage/dom_storage_host.h1
-rw-r--r--content/browser/dom_storage/dom_storage_namespace.cc2
-rw-r--r--content/browser/dom_storage/dom_storage_namespace.h1
-rw-r--r--content/browser/download/download_request_handle.cc3
-rw-r--r--content/browser/download/download_request_handle.h1
-rw-r--r--content/browser/download/save_types.cc3
-rw-r--r--content/browser/download/save_types.h2
-rw-r--r--content/browser/frame_host/frame_tree.cc2
-rw-r--r--content/browser/frame_host/frame_tree.h1
-rw-r--r--content/browser/gamepad/gamepad_provider.cc3
-rw-r--r--content/browser/gamepad/gamepad_provider.h1
-rw-r--r--content/browser/geolocation/wifi_data.cc2
-rw-r--r--content/browser/geolocation/wifi_data.h1
-rw-r--r--content/browser/indexed_db/indexed_db_backing_store.cc2
-rw-r--r--content/browser/indexed_db/indexed_db_backing_store.h1
-rw-r--r--content/browser/indexed_db/indexed_db_pending_connection.cc3
-rw-r--r--content/browser/indexed_db/indexed_db_pending_connection.h1
-rw-r--r--content/browser/media/capture/audio_mirroring_manager.cc3
-rw-r--r--content/browser/media/capture/audio_mirroring_manager.h1
-rw-r--r--content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc3
-rw-r--r--content/browser/renderer_host/input/synthetic_smooth_move_gesture.h2
-rw-r--r--content/browser/renderer_host/media/audio_output_device_enumerator.cc3
-rw-r--r--content/browser/renderer_host/media/audio_output_device_enumerator.h1
-rw-r--r--content/browser/renderer_host/p2p/socket_host_udp.cc3
-rw-r--r--content/browser/renderer_host/p2p/socket_host_udp.h1
-rw-r--r--content/browser/renderer_host/pepper/pepper_file_io_host.cc3
-rw-r--r--content/browser/renderer_host/pepper/pepper_file_io_host.h1
-rw-r--r--content/browser/renderer_host/pepper/pepper_network_proxy_host.cc3
-rw-r--r--content/browser/renderer_host/pepper/pepper_network_proxy_host.h1
-rw-r--r--content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc3
-rw-r--r--content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h1
-rw-r--r--content/browser/service_worker/service_worker_database.cc3
-rw-r--r--content/browser/service_worker/service_worker_database.h1
-rw-r--r--content/browser/service_worker/service_worker_info.cc6
-rw-r--r--content/browser/service_worker/service_worker_info.h2
-rw-r--r--content/browser/service_worker/service_worker_job_coordinator.cc3
-rw-r--r--content/browser/service_worker/service_worker_job_coordinator.h1
-rw-r--r--content/browser/service_worker/service_worker_process_manager.cc3
-rw-r--r--content/browser/service_worker/service_worker_process_manager.h1
-rw-r--r--content/browser/service_worker/service_worker_storage.cc3
-rw-r--r--content/browser/service_worker/service_worker_storage.h1
-rw-r--r--content/browser/speech/speech_recognizer_impl.cc3
-rw-r--r--content/browser/speech/speech_recognizer_impl.h1
-rw-r--r--content/child/blob_storage/blob_consolidation.cc3
-rw-r--r--content/child/blob_storage/blob_consolidation.h1
-rw-r--r--content/child/child_thread_impl.cc2
-rw-r--r--content/child/child_thread_impl.h1
-rw-r--r--content/child/service_worker/web_service_worker_registration_impl.cc3
-rw-r--r--content/child/service_worker/web_service_worker_registration_impl.h1
-rw-r--r--content/child/webmessageportchannel_impl.cc2
-rw-r--r--content/child/webmessageportchannel_impl.h1
-rw-r--r--content/common/appcache_interfaces.cc5
-rw-r--r--content/common/appcache_interfaces.h1
-rw-r--r--content/common/ax_content_node_data.cc2
-rw-r--r--content/common/ax_content_node_data.h1
-rw-r--r--content/common/bluetooth/bluetooth_scan_filter.cc3
-rw-r--r--content/common/bluetooth/bluetooth_scan_filter.h1
-rw-r--r--content/common/cache_storage/cache_storage_types.cc3
-rw-r--r--content/common/cache_storage/cache_storage_types.h1
-rw-r--r--content/common/gpu/client/gl_helper_scaling.cc2
-rw-r--r--content/common/gpu/client/gl_helper_scaling.h1
-rw-r--r--content/common/gpu/client/gpu_channel_host.cc6
-rw-r--r--content/common/gpu/client/gpu_channel_host.h2
-rw-r--r--content/common/in_process_child_thread_params.cc3
-rw-r--r--content/common/in_process_child_thread_params.h1
-rw-r--r--content/common/media/media_stream_options.cc2
-rw-r--r--content/common/media/media_stream_options.h1
-rw-r--r--content/common/navigation_params.cc12
-rw-r--r--content/common/navigation_params.h4
-rw-r--r--content/common/page_state_serialization.cc3
-rw-r--r--content/common/page_state_serialization.h1
-rw-r--r--content/common/resize_params.cc2
-rw-r--r--content/common/resize_params.h1
-rw-r--r--content/common/service_worker/service_worker_client_info.cc3
-rw-r--r--content/common/service_worker/service_worker_client_info.h1
-rw-r--r--content/common/service_worker/service_worker_types.cc6
-rw-r--r--content/common/service_worker/service_worker_types.h2
-rw-r--r--content/common/webplugin_geometry.cc2
-rw-r--r--content/common/webplugin_geometry.h1
-rw-r--r--content/public/browser/ax_event_notification_details.cc3
-rw-r--r--content/public/browser/ax_event_notification_details.h1
-rw-r--r--content/public/browser/navigation_details.cc3
-rw-r--r--content/public/browser/navigation_details.h1
-rw-r--r--content/public/browser/page_navigator.cc2
-rw-r--r--content/public/browser/page_navigator.h1
-rw-r--r--content/public/browser/service_worker_usage_info.cc3
-rw-r--r--content/public/browser/service_worker_usage_info.h1
-rw-r--r--content/public/browser/speech_recognition_session_context.cc3
-rw-r--r--content/public/browser/speech_recognition_session_context.h1
-rw-r--r--content/public/browser/web_contents.cc2
-rw-r--r--content/public/browser/web_contents.h1
-rw-r--r--content/public/common/appcache_info.h1
-rw-r--r--content/public/common/context_menu_params.cc2
-rw-r--r--content/public/common/context_menu_params.h1
-rw-r--r--content/public/common/drop_data.cc2
-rw-r--r--content/public/common/drop_data.h1
-rw-r--r--content/public/common/favicon_url.cc2
-rw-r--r--content/public/common/favicon_url.h1
-rw-r--r--content/public/common/file_chooser_file_info.cc3
-rw-r--r--content/public/common/file_chooser_file_info.h1
-rw-r--r--content/public/common/file_chooser_params.cc2
-rw-r--r--content/public/common/file_chooser_params.h1
-rw-r--r--content/public/common/frame_navigate_params.cc3
-rw-r--r--content/public/common/frame_navigate_params.h1
-rw-r--r--content/public/common/geoposition.cc2
-rw-r--r--content/public/common/geoposition.h2
-rw-r--r--content/public/common/manifest.cc4
-rw-r--r--content/public/common/manifest.h2
-rw-r--r--content/public/common/media_stream_request.cc8
-rw-r--r--content/public/common/media_stream_request.h5
-rw-r--r--content/public/common/notification_resources.cc3
-rw-r--r--content/public/common/notification_resources.h1
-rw-r--r--content/public/common/pepper_plugin_info.cc2
-rw-r--r--content/public/common/pepper_plugin_info.h1
-rw-r--r--content/public/common/platform_notification_data.cc3
-rw-r--r--content/public/common/platform_notification_data.h1
-rw-r--r--content/public/common/renderer_preferences.cc3
-rw-r--r--content/public/common/renderer_preferences.h1
-rw-r--r--content/public/common/resource_response_info.cc3
-rw-r--r--content/public/common/resource_response_info.h1
-rw-r--r--content/public/common/speech_recognition_result.cc3
-rw-r--r--content/public/common/speech_recognition_result.h1
-rw-r--r--content/public/common/ssl_status.cc2
-rw-r--r--content/public/common/ssl_status.h1
-rw-r--r--content/public/common/web_preferences.cc2
-rw-r--r--content/public/common/web_preferences.h1
-rw-r--r--content/public/common/webplugininfo.cc2
-rw-r--r--content/public/common/webplugininfo.h1
-rw-r--r--content/renderer/media/audio_renderer_mixer_manager.cc2
-rw-r--r--content/renderer/media/audio_renderer_mixer_manager.h1
-rw-r--r--content/renderer/media/media_stream_video_source.cc3
-rw-r--r--content/renderer/media/media_stream_video_source.h1
-rw-r--r--content/renderer/media/video_capture_impl.cc1
-rw-r--r--content/renderer/media/video_capture_impl.h1
-rw-r--r--content/renderer/media/webrtc_identity_service.cc3
-rw-r--r--content/renderer/media/webrtc_identity_service.h1
-rw-r--r--content/renderer/pepper/pepper_broker.cc3
-rw-r--r--content/renderer/pepper/pepper_broker.h1
-rw-r--r--content/renderer/pepper/pepper_compositor_host.cc2
-rw-r--r--content/renderer/pepper/pepper_compositor_host.h1
-rw-r--r--content/renderer/pepper/pepper_video_capture_host.cc3
-rw-r--r--content/renderer/pepper/pepper_video_capture_host.h1
-rw-r--r--content/renderer/pepper/plugin_power_saver_helper.cc3
-rw-r--r--content/renderer/pepper/plugin_power_saver_helper.h1
153 files changed, 316 insertions, 0 deletions
diff --git a/content/browser/appcache/appcache_database.cc b/content/browser/appcache/appcache_database.cc
index f9e83ac..f3053c7 100644
--- a/content/browser/appcache/appcache_database.cc
+++ b/content/browser/appcache/appcache_database.cc
@@ -191,6 +191,8 @@ AppCacheDatabase::GroupRecord::GroupRecord()
: group_id(0) {
}
+AppCacheDatabase::GroupRecord::GroupRecord(const GroupRecord& other) = default;
+
AppCacheDatabase::GroupRecord::~GroupRecord() {
}
diff --git a/content/browser/appcache/appcache_database.h b/content/browser/appcache/appcache_database.h
index a6f017e..e2b265d 100644
--- a/content/browser/appcache/appcache_database.h
+++ b/content/browser/appcache/appcache_database.h
@@ -51,6 +51,7 @@ class CONTENT_EXPORT AppCacheDatabase {
public:
struct CONTENT_EXPORT GroupRecord {
GroupRecord();
+ GroupRecord(const GroupRecord& other);
~GroupRecord();
int64_t group_id;
diff --git a/content/browser/appcache/appcache_disk_cache.cc b/content/browser/appcache/appcache_disk_cache.cc
index 49030f0..da5475d 100644
--- a/content/browser/appcache/appcache_disk_cache.cc
+++ b/content/browser/appcache/appcache_disk_cache.cc
@@ -336,6 +336,8 @@ AppCacheDiskCache::PendingCall::PendingCall(
const net::CompletionCallback& callback)
: call_type(call_type), key(key), entry(entry), callback(callback) {}
+AppCacheDiskCache::PendingCall::PendingCall(const PendingCall& other) = default;
+
AppCacheDiskCache::PendingCall::~PendingCall() {}
int AppCacheDiskCache::Init(
diff --git a/content/browser/appcache/appcache_disk_cache.h b/content/browser/appcache/appcache_disk_cache.h
index 2b8c299..d06bcf5 100644
--- a/content/browser/appcache/appcache_disk_cache.h
+++ b/content/browser/appcache/appcache_disk_cache.h
@@ -89,6 +89,8 @@ class CONTENT_EXPORT AppCacheDiskCache
Entry** entry,
const net::CompletionCallback& callback);
+ PendingCall(const PendingCall& other);
+
~PendingCall();
};
typedef std::vector<PendingCall> PendingCalls;
diff --git a/content/browser/appcache/appcache_update_job.cc b/content/browser/appcache/appcache_update_job.cc
index b7133fc..7c922f8 100644
--- a/content/browser/appcache/appcache_update_job.cc
+++ b/content/browser/appcache/appcache_update_job.cc
@@ -140,6 +140,8 @@ AppCacheUpdateJob::UrlToFetch::UrlToFetch(const GURL& url,
existing_response_info(info) {
}
+AppCacheUpdateJob::UrlToFetch::UrlToFetch(const UrlToFetch& other) = default;
+
AppCacheUpdateJob::UrlToFetch::~UrlToFetch() {
}
diff --git a/content/browser/appcache/appcache_update_job.h b/content/browser/appcache/appcache_update_job.h
index f1c7af0..4fa1588 100644
--- a/content/browser/appcache/appcache_update_job.h
+++ b/content/browser/appcache/appcache_update_job.h
@@ -101,6 +101,7 @@ class CONTENT_EXPORT AppCacheUpdateJob
struct UrlToFetch {
UrlToFetch(const GURL& url, bool checked, AppCacheResponseInfo* info);
+ UrlToFetch(const UrlToFetch& other);
~UrlToFetch();
GURL url;
diff --git a/content/browser/background_sync/background_sync_manager.cc b/content/browser/background_sync/background_sync_manager.cc
index 25f9532..4cc3901 100644
--- a/content/browser/background_sync/background_sync_manager.cc
+++ b/content/browser/background_sync/background_sync_manager.cc
@@ -139,6 +139,9 @@ BackgroundSyncManager::BackgroundSyncRegistrations::
: next_id(BackgroundSyncRegistration::kInitialId) {
}
+BackgroundSyncManager::BackgroundSyncRegistrations::BackgroundSyncRegistrations(
+ const BackgroundSyncRegistrations& other) = default;
+
BackgroundSyncManager::BackgroundSyncRegistrations::
~BackgroundSyncRegistrations() {
}
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index 448b470..fe3eda6 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -164,6 +164,7 @@ class CONTENT_EXPORT BackgroundSyncManager
std::map<RegistrationKey, scoped_refptr<RefCountedRegistration>>;
BackgroundSyncRegistrations();
+ BackgroundSyncRegistrations(const BackgroundSyncRegistrations& other);
~BackgroundSyncRegistrations();
RegistrationMap registration_map;
diff --git a/content/browser/dom_storage/dom_storage_host.cc b/content/browser/dom_storage/dom_storage_host.cc
index 14d288d..3db7d5a 100644
--- a/content/browser/dom_storage/dom_storage_host.cc
+++ b/content/browser/dom_storage/dom_storage_host.cc
@@ -153,6 +153,8 @@ DOMStorageNamespace* DOMStorageHost::GetNamespace(int connection_id) {
// NamespaceAndArea
DOMStorageHost::NamespaceAndArea::NamespaceAndArea() {}
+DOMStorageHost::NamespaceAndArea::NamespaceAndArea(
+ const NamespaceAndArea& other) = default;
DOMStorageHost::NamespaceAndArea::~NamespaceAndArea() {}
} // namespace content
diff --git a/content/browser/dom_storage/dom_storage_host.h b/content/browser/dom_storage/dom_storage_host.h
index 9b79406..d53bd15 100644
--- a/content/browser/dom_storage/dom_storage_host.h
+++ b/content/browser/dom_storage/dom_storage_host.h
@@ -57,6 +57,7 @@ class CONTENT_EXPORT DOMStorageHost {
scoped_refptr<DOMStorageNamespace> namespace_;
scoped_refptr<DOMStorageArea> area_;
NamespaceAndArea();
+ NamespaceAndArea(const NamespaceAndArea& other);
~NamespaceAndArea();
};
typedef std::map<int, NamespaceAndArea > AreaMap;
diff --git a/content/browser/dom_storage/dom_storage_namespace.cc b/content/browser/dom_storage/dom_storage_namespace.cc
index 25e44e5..a8681b6 100644
--- a/content/browser/dom_storage/dom_storage_namespace.cc
+++ b/content/browser/dom_storage/dom_storage_namespace.cc
@@ -195,6 +195,8 @@ DOMStorageNamespace::AreaHolder::AreaHolder(
: area_(area), open_count_(count) {
}
+DOMStorageNamespace::AreaHolder::AreaHolder(const AreaHolder& other) = default;
+
DOMStorageNamespace::AreaHolder::~AreaHolder() {
}
diff --git a/content/browser/dom_storage/dom_storage_namespace.h b/content/browser/dom_storage/dom_storage_namespace.h
index a9f6569..238b7ca 100644
--- a/content/browser/dom_storage/dom_storage_namespace.h
+++ b/content/browser/dom_storage/dom_storage_namespace.h
@@ -86,6 +86,7 @@ class CONTENT_EXPORT DOMStorageNamespace
int open_count_;
AreaHolder();
AreaHolder(DOMStorageArea* area, int count);
+ AreaHolder(const AreaHolder& other);
~AreaHolder();
};
typedef std::map<GURL, AreaHolder> AreaMap;
diff --git a/content/browser/download/download_request_handle.cc b/content/browser/download/download_request_handle.cc
index 67dda4f..8a46917 100644
--- a/content/browser/download/download_request_handle.cc
+++ b/content/browser/download/download_request_handle.cc
@@ -18,6 +18,9 @@ namespace content {
DownloadRequestHandleInterface::~DownloadRequestHandleInterface() {}
+DownloadRequestHandle::DownloadRequestHandle(
+ const DownloadRequestHandle& other) = default;
+
DownloadRequestHandle::~DownloadRequestHandle() {}
DownloadRequestHandle::DownloadRequestHandle()
diff --git a/content/browser/download/download_request_handle.h b/content/browser/download/download_request_handle.h
index 5d047c7..b74d9d2 100644
--- a/content/browser/download/download_request_handle.h
+++ b/content/browser/download/download_request_handle.h
@@ -45,6 +45,7 @@ class CONTENT_EXPORT DownloadRequestHandleInterface {
class CONTENT_EXPORT DownloadRequestHandle
: public DownloadRequestHandleInterface {
public:
+ DownloadRequestHandle(const DownloadRequestHandle& other);
~DownloadRequestHandle() override;
// Create a null DownloadRequestHandle: getters will return null, and
diff --git a/content/browser/download/save_types.cc b/content/browser/download/save_types.cc
index 9c4972a..0dd7605 100644
--- a/content/browser/download/save_types.cc
+++ b/content/browser/download/save_types.cc
@@ -45,6 +45,9 @@ SaveFileCreateInfo::SaveFileCreateInfo(const GURL& url,
total_bytes(total_bytes),
save_source(SaveFileCreateInfo::SAVE_FILE_FROM_NET) {}
+SaveFileCreateInfo::SaveFileCreateInfo(const SaveFileCreateInfo& other) =
+ default;
+
SaveFileCreateInfo::~SaveFileCreateInfo() {}
} // namespace content
diff --git a/content/browser/download/save_types.h b/content/browser/download/save_types.h
index a9ab45c..9d61a9a 100644
--- a/content/browser/download/save_types.h
+++ b/content/browser/download/save_types.h
@@ -63,6 +63,8 @@ struct SaveFileCreateInfo {
const std::string& content_disposition,
int64_t total_bytes);
+ SaveFileCreateInfo(const SaveFileCreateInfo& other);
+
~SaveFileCreateInfo();
// SaveItem fields.
diff --git a/content/browser/frame_host/frame_tree.cc b/content/browser/frame_host/frame_tree.cc
index 199edd4..ceb5985 100644
--- a/content/browser/frame_host/frame_tree.cc
+++ b/content/browser/frame_host/frame_tree.cc
@@ -40,6 +40,8 @@ std::set<SiteInstance*> CollectSiteInstances(FrameTree* tree) {
} // namespace
+FrameTree::NodeIterator::NodeIterator(const NodeIterator& other) = default;
+
FrameTree::NodeIterator::~NodeIterator() {}
FrameTree::NodeIterator& FrameTree::NodeIterator::operator++() {
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h
index d9fc1b6..d6638e2 100644
--- a/content/browser/frame_host/frame_tree.h
+++ b/content/browser/frame_host/frame_tree.h
@@ -45,6 +45,7 @@ class CONTENT_EXPORT FrameTree {
class CONTENT_EXPORT NodeIterator {
public:
+ NodeIterator(const NodeIterator& other);
~NodeIterator();
NodeIterator& operator++();
diff --git a/content/browser/gamepad/gamepad_provider.cc b/content/browser/gamepad/gamepad_provider.cc
index 682afc5..fea94e0 100644
--- a/content/browser/gamepad/gamepad_provider.cc
+++ b/content/browser/gamepad/gamepad_provider.cc
@@ -39,6 +39,9 @@ GamepadProvider::ClosureAndThread::ClosureAndThread(
: closure(c), task_runner(m) {
}
+GamepadProvider::ClosureAndThread::ClosureAndThread(
+ const ClosureAndThread& other) = default;
+
GamepadProvider::ClosureAndThread::~ClosureAndThread() {
}
diff --git a/content/browser/gamepad/gamepad_provider.h b/content/browser/gamepad/gamepad_provider.h
index f2dcad2..fa15411 100644
--- a/content/browser/gamepad/gamepad_provider.h
+++ b/content/browser/gamepad/gamepad_provider.h
@@ -106,6 +106,7 @@ class CONTENT_EXPORT GamepadProvider :
struct ClosureAndThread {
ClosureAndThread(const base::Closure& c,
const scoped_refptr<base::SingleThreadTaskRunner>& m);
+ ClosureAndThread(const ClosureAndThread& other);
~ClosureAndThread();
base::Closure closure;
diff --git a/content/browser/geolocation/wifi_data.cc b/content/browser/geolocation/wifi_data.cc
index 2f41c33..d82e6f4 100644
--- a/content/browser/geolocation/wifi_data.cc
+++ b/content/browser/geolocation/wifi_data.cc
@@ -23,6 +23,8 @@ AccessPointData::~AccessPointData() {}
WifiData::WifiData() {}
+WifiData::WifiData(const WifiData& other) = default;
+
WifiData::~WifiData() {}
bool WifiData::DiffersSignificantly(const WifiData& other) const {
diff --git a/content/browser/geolocation/wifi_data.h b/content/browser/geolocation/wifi_data.h
index d6e0b33..b3cf569 100644
--- a/content/browser/geolocation/wifi_data.h
+++ b/content/browser/geolocation/wifi_data.h
@@ -37,6 +37,7 @@ struct AccessPointDataLess {
// All data for wifi.
struct CONTENT_EXPORT WifiData {
WifiData();
+ WifiData(const WifiData& other);
~WifiData();
// Determines whether a new set of WiFi data differs significantly from this.
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index dc4f336..b6f9ae1 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -798,6 +798,8 @@ IndexedDBBackingStore::RecordIdentifier::RecordIdentifier()
IndexedDBBackingStore::RecordIdentifier::~RecordIdentifier() {}
IndexedDBBackingStore::Cursor::CursorOptions::CursorOptions() {}
+IndexedDBBackingStore::Cursor::CursorOptions::CursorOptions(
+ const CursorOptions& other) = default;
IndexedDBBackingStore::Cursor::CursorOptions::~CursorOptions() {}
// Values match entries in tools/metrics/histograms/histograms.xml
diff --git a/content/browser/indexed_db/indexed_db_backing_store.h b/content/browser/indexed_db/indexed_db_backing_store.h
index 0c61c8b..69812ce 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -287,6 +287,7 @@ class CONTENT_EXPORT IndexedDBBackingStore
struct CursorOptions {
CursorOptions();
+ CursorOptions(const CursorOptions& other);
~CursorOptions();
int64_t database_id;
int64_t object_store_id;
diff --git a/content/browser/indexed_db/indexed_db_pending_connection.cc b/content/browser/indexed_db/indexed_db_pending_connection.cc
index ee16aba..34f4924 100644
--- a/content/browser/indexed_db/indexed_db_pending_connection.cc
+++ b/content/browser/indexed_db/indexed_db_pending_connection.cc
@@ -18,6 +18,9 @@ IndexedDBPendingConnection::IndexedDBPendingConnection(
transaction_id(transaction_id_in),
version(version_in) {}
+IndexedDBPendingConnection::IndexedDBPendingConnection(
+ const IndexedDBPendingConnection& other) = default;
+
IndexedDBPendingConnection::~IndexedDBPendingConnection() {}
} // namespace content
diff --git a/content/browser/indexed_db/indexed_db_pending_connection.h b/content/browser/indexed_db/indexed_db_pending_connection.h
index b66d9cd..10e1b05 100644
--- a/content/browser/indexed_db/indexed_db_pending_connection.h
+++ b/content/browser/indexed_db/indexed_db_pending_connection.h
@@ -24,6 +24,7 @@ struct CONTENT_EXPORT IndexedDBPendingConnection {
int child_process_id_in,
int64_t transaction_id_in,
int64_t version_in);
+ IndexedDBPendingConnection(const IndexedDBPendingConnection& other);
~IndexedDBPendingConnection();
scoped_refptr<IndexedDBCallbacks> callbacks;
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks;
diff --git a/content/browser/media/capture/audio_mirroring_manager.cc b/content/browser/media/capture/audio_mirroring_manager.cc
index a75eb3c..f8b8b3a 100644
--- a/content/browser/media/capture/audio_mirroring_manager.cc
+++ b/content/browser/media/capture/audio_mirroring_manager.cc
@@ -209,6 +209,9 @@ AudioMirroringManager::StreamRoutingState::StreamRoutingState(
diverter(stream_diverter),
destination(NULL) {}
+AudioMirroringManager::StreamRoutingState::StreamRoutingState(
+ const StreamRoutingState& other) = default;
+
AudioMirroringManager::StreamRoutingState::~StreamRoutingState() {}
} // namespace content
diff --git a/content/browser/media/capture/audio_mirroring_manager.h b/content/browser/media/capture/audio_mirroring_manager.h
index 4e44699..a624a08 100644
--- a/content/browser/media/capture/audio_mirroring_manager.h
+++ b/content/browser/media/capture/audio_mirroring_manager.h
@@ -122,6 +122,7 @@ class CONTENT_EXPORT AudioMirroringManager {
StreamRoutingState(const SourceFrameRef& source_frame,
Diverter* stream_diverter);
+ StreamRoutingState(const StreamRoutingState& other);
~StreamRoutingState();
};
diff --git a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc
index 3ddb0a3..6a9264d 100644
--- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc
+++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.cc
@@ -42,6 +42,9 @@ SyntheticSmoothMoveGestureParams::SyntheticSmoothMoveGestureParams()
prevent_fling(true),
add_slop(true) {}
+SyntheticSmoothMoveGestureParams::SyntheticSmoothMoveGestureParams(
+ const SyntheticSmoothMoveGestureParams& other) = default;
+
SyntheticSmoothMoveGestureParams::~SyntheticSmoothMoveGestureParams() {}
SyntheticSmoothMoveGesture::SyntheticSmoothMoveGesture(
diff --git a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h
index 577a8c0..28be20e 100644
--- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h
+++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h
@@ -24,6 +24,8 @@ namespace content {
class CONTENT_EXPORT SyntheticSmoothMoveGestureParams {
public:
SyntheticSmoothMoveGestureParams();
+ SyntheticSmoothMoveGestureParams(
+ const SyntheticSmoothMoveGestureParams& other);
~SyntheticSmoothMoveGestureParams();
enum InputType { MOUSE_DRAG_INPUT, MOUSE_WHEEL_INPUT, TOUCH_INPUT };
diff --git a/content/browser/renderer_host/media/audio_output_device_enumerator.cc b/content/browser/renderer_host/media/audio_output_device_enumerator.cc
index cf4842d..24ef8f9 100644
--- a/content/browser/renderer_host/media/audio_output_device_enumerator.cc
+++ b/content/browser/renderer_host/media/audio_output_device_enumerator.cc
@@ -54,6 +54,9 @@ AudioOutputDeviceEnumeration::AudioOutputDeviceEnumeration(
AudioOutputDeviceEnumeration::AudioOutputDeviceEnumeration()
: has_actual_devices(false) {}
+AudioOutputDeviceEnumeration::AudioOutputDeviceEnumeration(
+ const AudioOutputDeviceEnumeration& other) = default;
+
AudioOutputDeviceEnumeration::~AudioOutputDeviceEnumeration() {}
AudioOutputDeviceEnumerator::AudioOutputDeviceEnumerator(
diff --git a/content/browser/renderer_host/media/audio_output_device_enumerator.h b/content/browser/renderer_host/media/audio_output_device_enumerator.h
index bf223a9..afb8204 100644
--- a/content/browser/renderer_host/media/audio_output_device_enumerator.h
+++ b/content/browser/renderer_host/media/audio_output_device_enumerator.h
@@ -50,6 +50,7 @@ struct AudioOutputDeviceEnumeration {
const std::vector<AudioOutputDeviceInfo>& devices,
bool has_actual_devices);
AudioOutputDeviceEnumeration();
+ AudioOutputDeviceEnumeration(const AudioOutputDeviceEnumeration& other);
~AudioOutputDeviceEnumeration();
std::vector<AudioOutputDeviceInfo> devices;
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc
index f7c56f9..4513536 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp.cc
@@ -84,6 +84,9 @@ P2PSocketHostUdp::PendingPacket::PendingPacket(
memcpy(data->data(), &content[0], size);
}
+P2PSocketHostUdp::PendingPacket::PendingPacket(const PendingPacket& other) =
+ default;
+
P2PSocketHostUdp::PendingPacket::~PendingPacket() {
}
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.h b/content/browser/renderer_host/p2p/socket_host_udp.h
index 93fb633..57f1db3 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.h
+++ b/content/browser/renderer_host/p2p/socket_host_udp.h
@@ -58,6 +58,7 @@ class CONTENT_EXPORT P2PSocketHostUdp : public P2PSocketHost {
const std::vector<char>& content,
const rtc::PacketOptions& options,
uint64_t id);
+ PendingPacket(const PendingPacket& other);
~PendingPacket();
net::IPEndPoint to;
scoped_refptr<net::IOBuffer> data;
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.cc b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
index faead26..c3e52a6 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
@@ -147,6 +147,9 @@ PepperFileIOHost::UIThreadStuff::UIThreadStuff() {
resolved_render_process_id = base::kNullProcessId;
}
+PepperFileIOHost::UIThreadStuff::UIThreadStuff(const UIThreadStuff& other) =
+ default;
+
PepperFileIOHost::UIThreadStuff::~UIThreadStuff() {}
int32_t PepperFileIOHost::OnHostMsgOpen(
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.h b/content/browser/renderer_host/pepper/pepper_file_io_host.h
index 90de1da..6899c2f 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.h
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.h
@@ -49,6 +49,7 @@ class PepperFileIOHost : public ppapi::host::ResourceHost,
struct UIThreadStuff {
UIThreadStuff();
+ UIThreadStuff(const UIThreadStuff& other);
~UIThreadStuff();
base::ProcessId resolved_render_process_id;
scoped_refptr<storage::FileSystemContext> file_system_context;
diff --git a/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc b/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc
index b80d1c6..58c220e 100644
--- a/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc
@@ -58,6 +58,9 @@ PepperNetworkProxyHost::~PepperNetworkProxyHost() {
PepperNetworkProxyHost::UIThreadData::UIThreadData() : is_allowed(false) {}
+PepperNetworkProxyHost::UIThreadData::UIThreadData(const UIThreadData& other) =
+ default;
+
PepperNetworkProxyHost::UIThreadData::~UIThreadData() {}
// static
diff --git a/content/browser/renderer_host/pepper/pepper_network_proxy_host.h b/content/browser/renderer_host/pepper/pepper_network_proxy_host.h
index 0992c9f..309e692d 100644
--- a/content/browser/renderer_host/pepper/pepper_network_proxy_host.h
+++ b/content/browser/renderer_host/pepper/pepper_network_proxy_host.h
@@ -48,6 +48,7 @@ class CONTENT_EXPORT PepperNetworkProxyHost : public ppapi::host::ResourceHost {
// DidGetUIThreadData, which sets allowed_ and proxy_service_.
struct UIThreadData {
UIThreadData();
+ UIThreadData(const UIThreadData& other);
~UIThreadData();
bool is_allowed;
scoped_refptr<net::URLRequestContextGetter> context_getter;
diff --git a/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc b/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc
index 04d9e98..b73029e 100644
--- a/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc
+++ b/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc
@@ -60,6 +60,9 @@ PepperUDPSocketMessageFilter::PendingSend::PendingSend(
: address(address), port(port), buffer(buffer), context(context) {
}
+PepperUDPSocketMessageFilter::PendingSend::PendingSend(
+ const PendingSend& other) = default;
+
PepperUDPSocketMessageFilter::PendingSend::~PendingSend() {
}
diff --git a/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h b/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h
index 314599b..7f9612c 100644
--- a/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h
+++ b/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h
@@ -79,6 +79,7 @@ class CONTENT_EXPORT PepperUDPSocketMessageFilter
int port,
const scoped_refptr<net::IOBufferWithSize>& buffer,
const ppapi::host::ReplyMessageContext& context);
+ PendingSend(const PendingSend& other);
~PendingSend();
net::IPAddressNumber address;
diff --git a/content/browser/service_worker/service_worker_database.cc b/content/browser/service_worker/service_worker_database.cc
index e45dabb..5254e87 100644
--- a/content/browser/service_worker/service_worker_database.cc
+++ b/content/browser/service_worker/service_worker_database.cc
@@ -284,6 +284,9 @@ ServiceWorkerDatabase::RegistrationData::RegistrationData()
resources_total_size_bytes(0) {
}
+ServiceWorkerDatabase::RegistrationData::RegistrationData(
+ const RegistrationData& other) = default;
+
ServiceWorkerDatabase::RegistrationData::~RegistrationData() {
}
diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h
index 7d575e8..a32e60a 100644
--- a/content/browser/service_worker/service_worker_database.h
+++ b/content/browser/service_worker/service_worker_database.h
@@ -75,6 +75,7 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
int64_t resources_total_size_bytes;
RegistrationData();
+ RegistrationData(const RegistrationData& other);
~RegistrationData();
};
diff --git a/content/browser/service_worker/service_worker_info.cc b/content/browser/service_worker/service_worker_info.cc
index 836e979..422d2ee 100644
--- a/content/browser/service_worker/service_worker_info.cc
+++ b/content/browser/service_worker/service_worker_info.cc
@@ -51,6 +51,9 @@ ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
thread_id(thread_id),
devtools_agent_route_id(devtools_agent_route_id) {}
+ServiceWorkerVersionInfo::ServiceWorkerVersionInfo(
+ const ServiceWorkerVersionInfo& other) = default;
+
ServiceWorkerVersionInfo::~ServiceWorkerVersionInfo() {}
ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo()
@@ -87,6 +90,9 @@ ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
installing_version(installing_version),
stored_version_size_bytes(stored_version_size_bytes) {}
+ServiceWorkerRegistrationInfo::ServiceWorkerRegistrationInfo(
+ const ServiceWorkerRegistrationInfo& other) = default;
+
ServiceWorkerRegistrationInfo::~ServiceWorkerRegistrationInfo() {}
} // namespace content
diff --git a/content/browser/service_worker/service_worker_info.h b/content/browser/service_worker/service_worker_info.h
index b1c0a73..135f0a0 100644
--- a/content/browser/service_worker/service_worker_info.h
+++ b/content/browser/service_worker/service_worker_info.h
@@ -37,6 +37,7 @@ struct CONTENT_EXPORT ServiceWorkerVersionInfo {
int process_id,
int thread_id,
int devtools_agent_route_id);
+ ServiceWorkerVersionInfo(const ServiceWorkerVersionInfo& other);
~ServiceWorkerVersionInfo();
ServiceWorkerVersion::RunningStatus running_status;
@@ -69,6 +70,7 @@ struct CONTENT_EXPORT ServiceWorkerRegistrationInfo {
const ServiceWorkerVersionInfo& waiting_version,
const ServiceWorkerVersionInfo& installing_version,
int64_t active_version_total_size_bytes);
+ ServiceWorkerRegistrationInfo(const ServiceWorkerRegistrationInfo& other);
~ServiceWorkerRegistrationInfo();
GURL pattern;
diff --git a/content/browser/service_worker/service_worker_job_coordinator.cc b/content/browser/service_worker/service_worker_job_coordinator.cc
index b8f71cf..9dd023e 100644
--- a/content/browser/service_worker/service_worker_job_coordinator.cc
+++ b/content/browser/service_worker/service_worker_job_coordinator.cc
@@ -23,6 +23,9 @@ bool IsRegisterJob(const ServiceWorkerRegisterJobBase& job) {
ServiceWorkerJobCoordinator::JobQueue::JobQueue() {}
+ServiceWorkerJobCoordinator::JobQueue::JobQueue(const JobQueue& other) =
+ default;
+
ServiceWorkerJobCoordinator::JobQueue::~JobQueue() {
DCHECK(jobs_.empty()) << "Destroying JobQueue with " << jobs_.size()
<< " unfinished jobs";
diff --git a/content/browser/service_worker/service_worker_job_coordinator.h b/content/browser/service_worker/service_worker_job_coordinator.h
index 728b820..5b4c1f1 100644
--- a/content/browser/service_worker/service_worker_job_coordinator.h
+++ b/content/browser/service_worker/service_worker_job_coordinator.h
@@ -56,6 +56,7 @@ class CONTENT_EXPORT ServiceWorkerJobCoordinator {
class JobQueue {
public:
JobQueue();
+ JobQueue(const JobQueue& other);
~JobQueue();
// Adds a job to the queue. If an identical job is already at the end of the
diff --git a/content/browser/service_worker/service_worker_process_manager.cc b/content/browser/service_worker/service_worker_process_manager.cc
index a6a2394..6777fc8 100644
--- a/content/browser/service_worker/service_worker_process_manager.cc
+++ b/content/browser/service_worker/service_worker_process_manager.cc
@@ -40,6 +40,9 @@ ServiceWorkerProcessManager::ProcessInfo::ProcessInfo(int process_id)
: process_id(process_id) {
}
+ServiceWorkerProcessManager::ProcessInfo::ProcessInfo(
+ const ProcessInfo& other) = default;
+
ServiceWorkerProcessManager::ProcessInfo::~ProcessInfo() {
}
diff --git a/content/browser/service_worker/service_worker_process_manager.h b/content/browser/service_worker/service_worker_process_manager.h
index 815f5b3..ad9a730 100644
--- a/content/browser/service_worker/service_worker_process_manager.h
+++ b/content/browser/service_worker/service_worker_process_manager.h
@@ -93,6 +93,7 @@ class CONTENT_EXPORT ServiceWorkerProcessManager {
struct ProcessInfo {
explicit ProcessInfo(const scoped_refptr<SiteInstance>& site_instance);
explicit ProcessInfo(int process_id);
+ ProcessInfo(const ProcessInfo& other);
~ProcessInfo();
// Stores the SiteInstance the Worker lives inside. This needs to outlive
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc
index 3af7d06..13e39e4 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -96,6 +96,9 @@ DidDeleteRegistrationParams::DidDeleteRegistrationParams()
: registration_id(kInvalidServiceWorkerRegistrationId) {
}
+ServiceWorkerStorage::DidDeleteRegistrationParams::DidDeleteRegistrationParams(
+ const DidDeleteRegistrationParams& other) = default;
+
ServiceWorkerStorage::
DidDeleteRegistrationParams::~DidDeleteRegistrationParams() {
}
diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h
index bf07934..55b2b21 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -274,6 +274,7 @@ class CONTENT_EXPORT ServiceWorkerStorage
StatusCallback callback;
DidDeleteRegistrationParams();
+ DidDeleteRegistrationParams(const DidDeleteRegistrationParams& other);
~DidDeleteRegistrationParams();
};
diff --git a/content/browser/speech/speech_recognizer_impl.cc b/content/browser/speech/speech_recognizer_impl.cc
index 273187d..c993eb9 100644
--- a/content/browser/speech/speech_recognizer_impl.cc
+++ b/content/browser/speech/speech_recognizer_impl.cc
@@ -835,6 +835,9 @@ SpeechRecognizerImpl::FSMEventArgs::FSMEventArgs(FSMEvent event_value)
engine_error(SPEECH_RECOGNITION_ERROR_NONE) {
}
+SpeechRecognizerImpl::FSMEventArgs::FSMEventArgs(const FSMEventArgs& other) =
+ default;
+
SpeechRecognizerImpl::FSMEventArgs::~FSMEventArgs() {
}
diff --git a/content/browser/speech/speech_recognizer_impl.h b/content/browser/speech/speech_recognizer_impl.h
index ff2484b..007142b 100644
--- a/content/browser/speech/speech_recognizer_impl.h
+++ b/content/browser/speech/speech_recognizer_impl.h
@@ -81,6 +81,7 @@ class CONTENT_EXPORT SpeechRecognizerImpl
struct FSMEventArgs {
explicit FSMEventArgs(FSMEvent event_value);
+ FSMEventArgs(const FSMEventArgs& other);
~FSMEventArgs();
FSMEvent event;
diff --git a/content/child/blob_storage/blob_consolidation.cc b/content/child/blob_storage/blob_consolidation.cc
index a2b0925..67b8d6b 100644
--- a/content/child/blob_storage/blob_consolidation.cc
+++ b/content/child/blob_storage/blob_consolidation.cc
@@ -35,6 +35,9 @@ BlobConsolidation::ConsolidatedItem::ConsolidatedItem(DataElement::Type type,
expected_modification_time(0) {
}
+BlobConsolidation::ConsolidatedItem::ConsolidatedItem(
+ const ConsolidatedItem& other) = default;
+
BlobConsolidation::BlobConsolidation() : total_memory_(0) {
}
diff --git a/content/child/blob_storage/blob_consolidation.h b/content/child/blob_storage/blob_consolidation.h
index c261b3c..7a4a3de 100644
--- a/content/child/blob_storage/blob_consolidation.h
+++ b/content/child/blob_storage/blob_consolidation.h
@@ -45,6 +45,7 @@ class CONTENT_EXPORT BlobConsolidation {
ConsolidatedItem(storage::DataElement::Type type,
uint64_t offset,
uint64_t length);
+ ConsolidatedItem(const ConsolidatedItem& other);
~ConsolidatedItem();
storage::DataElement::Type type;
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index bdc346d..442d7b6 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -260,6 +260,8 @@ ChildThreadImpl::Options::Options()
use_mojo_channel(false) {
}
+ChildThreadImpl::Options::Options(const Options& other) = default;
+
ChildThreadImpl::Options::~Options() {
}
diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h
index 462af37..d7b340b 100644
--- a/content/child/child_thread_impl.h
+++ b/content/child/child_thread_impl.h
@@ -298,6 +298,7 @@ class CONTENT_EXPORT ChildThreadImpl
};
struct ChildThreadImpl::Options {
+ Options(const Options& other);
~Options();
class Builder;
diff --git a/content/child/service_worker/web_service_worker_registration_impl.cc b/content/child/service_worker/web_service_worker_registration_impl.cc
index a753de4..1897c5b 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.cc
+++ b/content/child/service_worker/web_service_worker_registration_impl.cc
@@ -42,6 +42,9 @@ WebServiceWorkerRegistrationImpl::QueuedTask::QueuedTask(
const scoped_refptr<WebServiceWorkerImpl>& worker)
: type(type), worker(worker) {}
+WebServiceWorkerRegistrationImpl::QueuedTask::QueuedTask(
+ const QueuedTask& other) = default;
+
WebServiceWorkerRegistrationImpl::QueuedTask::~QueuedTask() {}
WebServiceWorkerRegistrationImpl::WebServiceWorkerRegistrationImpl(
diff --git a/content/child/service_worker/web_service_worker_registration_impl.h b/content/child/service_worker/web_service_worker_registration_impl.h
index 9a17908..41da277 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.h
+++ b/content/child/service_worker/web_service_worker_registration_impl.h
@@ -86,6 +86,7 @@ class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
struct QueuedTask {
QueuedTask(QueuedTaskType type,
const scoped_refptr<WebServiceWorkerImpl>& worker);
+ QueuedTask(const QueuedTask& other);
~QueuedTask();
QueuedTaskType type;
scoped_refptr<WebServiceWorkerImpl> worker;
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
index 6fdd08c..9274c73 100644
--- a/content/child/webmessageportchannel_impl.cc
+++ b/content/child/webmessageportchannel_impl.cc
@@ -350,6 +350,8 @@ void WebMessagePortChannelImpl::OnMessagesQueued() {
WebMessagePortChannelImpl::Message::Message() {}
+WebMessagePortChannelImpl::Message::Message(const Message& other) = default;
+
WebMessagePortChannelImpl::Message::~Message() {}
} // namespace content
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h
index b5c8e7b..8a766ae 100644
--- a/content/child/webmessageportchannel_impl.h
+++ b/content/child/webmessageportchannel_impl.h
@@ -106,6 +106,7 @@ class WebMessagePortChannelImpl
struct Message {
Message();
+ Message(const Message& other);
~Message();
MessagePortMessage message;
diff --git a/content/common/appcache_interfaces.cc b/content/common/appcache_interfaces.cc
index af0d8c1..8342a364 100644
--- a/content/common/appcache_interfaces.cc
+++ b/content/common/appcache_interfaces.cc
@@ -31,6 +31,8 @@ AppCacheInfo::AppCacheInfo()
is_complete(false) {
}
+AppCacheInfo::AppCacheInfo(const AppCacheInfo& other) = default;
+
AppCacheInfo::~AppCacheInfo() {
}
@@ -46,6 +48,9 @@ AppCacheResourceInfo::AppCacheResourceInfo()
response_id(kAppCacheNoResponseId) {
}
+AppCacheResourceInfo::AppCacheResourceInfo(const AppCacheResourceInfo& other) =
+ default;
+
AppCacheResourceInfo::~AppCacheResourceInfo() {
}
diff --git a/content/common/appcache_interfaces.h b/content/common/appcache_interfaces.h
index 8ba2da0..12cc7c1 100644
--- a/content/common/appcache_interfaces.h
+++ b/content/common/appcache_interfaces.h
@@ -62,6 +62,7 @@ enum AppCacheErrorReason {
// Type to hold information about a single appcache resource.
struct CONTENT_EXPORT AppCacheResourceInfo {
AppCacheResourceInfo();
+ AppCacheResourceInfo(const AppCacheResourceInfo& other);
~AppCacheResourceInfo();
GURL url;
diff --git a/content/common/ax_content_node_data.cc b/content/common/ax_content_node_data.cc
index fda3668..d528727 100644
--- a/content/common/ax_content_node_data.cc
+++ b/content/common/ax_content_node_data.cc
@@ -33,6 +33,8 @@ typename std::vector<std::pair<FirstType, SecondType>>::const_iterator
AXContentNodeData::AXContentNodeData() {
}
+AXContentNodeData::AXContentNodeData(const AXContentNodeData& other) = default;
+
AXContentNodeData::~AXContentNodeData() {
}
diff --git a/content/common/ax_content_node_data.h b/content/common/ax_content_node_data.h
index 00849cd..93ab719 100644
--- a/content/common/ax_content_node_data.h
+++ b/content/common/ax_content_node_data.h
@@ -28,6 +28,7 @@ enum AXContentIntAttribute {
// content-layer-specific AX attributes.
struct CONTENT_EXPORT AXContentNodeData : public ui::AXNodeData {
AXContentNodeData();
+ AXContentNodeData(const AXContentNodeData& other);
~AXContentNodeData() override;
bool HasContentIntAttribute(AXContentIntAttribute attribute) const;
diff --git a/content/common/bluetooth/bluetooth_scan_filter.cc b/content/common/bluetooth/bluetooth_scan_filter.cc
index 3ab22ae..2c5a7cb 100644
--- a/content/common/bluetooth/bluetooth_scan_filter.cc
+++ b/content/common/bluetooth/bluetooth_scan_filter.cc
@@ -9,6 +9,9 @@ namespace content {
BluetoothScanFilter::BluetoothScanFilter() : services() {
}
+BluetoothScanFilter::BluetoothScanFilter(const BluetoothScanFilter& other) =
+ default;
+
BluetoothScanFilter::~BluetoothScanFilter() {
}
diff --git a/content/common/bluetooth/bluetooth_scan_filter.h b/content/common/bluetooth/bluetooth_scan_filter.h
index 2572747..6c0bb33 100644
--- a/content/common/bluetooth/bluetooth_scan_filter.h
+++ b/content/common/bluetooth/bluetooth_scan_filter.h
@@ -17,6 +17,7 @@ namespace content {
// blink::WebBluetoothScanFilter.
struct CONTENT_EXPORT BluetoothScanFilter {
BluetoothScanFilter();
+ BluetoothScanFilter(const BluetoothScanFilter& other);
~BluetoothScanFilter();
std::vector<device::BluetoothUUID> services;
diff --git a/content/common/cache_storage/cache_storage_types.cc b/content/common/cache_storage/cache_storage_types.cc
index c2e5175..198e6ea 100644
--- a/content/common/cache_storage/cache_storage_types.cc
+++ b/content/common/cache_storage/cache_storage_types.cc
@@ -13,4 +13,7 @@ CacheStorageCacheQueryParams::CacheStorageCacheQueryParams()
CacheStorageBatchOperation::CacheStorageBatchOperation() {
}
+CacheStorageBatchOperation::CacheStorageBatchOperation(
+ const CacheStorageBatchOperation& other) = default;
+
} // namespace content
diff --git a/content/common/cache_storage/cache_storage_types.h b/content/common/cache_storage/cache_storage_types.h
index 51f44b9e..22e91c0 100644
--- a/content/common/cache_storage/cache_storage_types.h
+++ b/content/common/cache_storage/cache_storage_types.h
@@ -39,6 +39,7 @@ enum CacheStorageCacheOperationType {
// A single batch operation for the Cache API.
struct CONTENT_EXPORT CacheStorageBatchOperation {
CacheStorageBatchOperation();
+ CacheStorageBatchOperation(const CacheStorageBatchOperation& other);
CacheStorageCacheOperationType operation_type;
ServiceWorkerFetchRequest request;
diff --git a/content/common/gpu/client/gl_helper_scaling.cc b/content/common/gpu/client/gl_helper_scaling.cc
index f4cd6b3..9df4f1a 100644
--- a/content/common/gpu/client/gl_helper_scaling.cc
+++ b/content/common/gpu/client/gl_helper_scaling.cc
@@ -262,6 +262,8 @@ GLHelperScaling::ScalerStage::ScalerStage(ShaderType shader_,
vertically_flip_texture(vertically_flip_texture_),
swizzle(swizzle_) {}
+GLHelperScaling::ScalerStage::ScalerStage(const ScalerStage& other) = default;
+
// The important inputs for this function is |x_ops| and
// |y_ops|. They represent scaling operations to be done
// on an imag of size |src_size|. If |quality| is SCALER_QUALITY_BEST,
diff --git a/content/common/gpu/client/gl_helper_scaling.h b/content/common/gpu/client/gl_helper_scaling.h
index 6157d8e..511319a 100644
--- a/content/common/gpu/client/gl_helper_scaling.h
+++ b/content/common/gpu/client/gl_helper_scaling.h
@@ -151,6 +151,7 @@ class CONTENT_EXPORT GLHelperScaling {
bool scale_x_,
bool vertically_flip_texture_,
bool swizzle_);
+ ScalerStage(const ScalerStage& other);
ShaderType shader;
gfx::Size src_size;
gfx::Rect src_subrect;
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index b0aeda3..6eae8ad 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -47,6 +47,9 @@ GpuChannelHost::StreamFlushInfo::StreamFlushInfo()
flush_count(0),
flush_id(0) {}
+GpuChannelHost::StreamFlushInfo::StreamFlushInfo(const StreamFlushInfo& other) =
+ default;
+
GpuChannelHost::StreamFlushInfo::~StreamFlushInfo() {}
// static
@@ -468,6 +471,9 @@ GpuChannelHost::~GpuChannelHost() {
GpuChannelHost::MessageFilter::ListenerInfo::ListenerInfo() {}
+GpuChannelHost::MessageFilter::ListenerInfo::ListenerInfo(
+ const ListenerInfo& other) = default;
+
GpuChannelHost::MessageFilter::ListenerInfo::~ListenerInfo() {}
GpuChannelHost::MessageFilter::MessageFilter()
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index c29f4a9..2a1f368 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -227,6 +227,7 @@ class GpuChannelHost : public IPC::Sender,
private:
struct ListenerInfo {
ListenerInfo();
+ ListenerInfo(const ListenerInfo& other);
~ListenerInfo();
base::WeakPtr<IPC::Listener> listener;
@@ -248,6 +249,7 @@ class GpuChannelHost : public IPC::Sender,
struct StreamFlushInfo {
StreamFlushInfo();
+ StreamFlushInfo(const StreamFlushInfo& other);
~StreamFlushInfo();
// These are global per stream.
diff --git a/content/common/in_process_child_thread_params.cc b/content/common/in_process_child_thread_params.cc
index 13e9390..ce245ec 100644
--- a/content/common/in_process_child_thread_params.cc
+++ b/content/common/in_process_child_thread_params.cc
@@ -12,6 +12,9 @@ InProcessChildThreadParams::InProcessChildThreadParams(
: channel_name_(channel_name), io_runner_(io_runner) {
}
+InProcessChildThreadParams::InProcessChildThreadParams(
+ const InProcessChildThreadParams& other) = default;
+
InProcessChildThreadParams::~InProcessChildThreadParams() {
}
diff --git a/content/common/in_process_child_thread_params.h b/content/common/in_process_child_thread_params.h
index 938a6ef..4e14a2a 100644
--- a/content/common/in_process_child_thread_params.h
+++ b/content/common/in_process_child_thread_params.h
@@ -21,6 +21,7 @@ class CONTENT_EXPORT InProcessChildThreadParams {
InProcessChildThreadParams(
const std::string& channel_name,
scoped_refptr<base::SequencedTaskRunner> io_runner);
+ InProcessChildThreadParams(const InProcessChildThreadParams& other);
~InProcessChildThreadParams();
const std::string& channel_name() const { return channel_name_; }
diff --git a/content/common/media/media_stream_options.cc b/content/common/media/media_stream_options.cc
index c942f46..1b2b1e2 100644
--- a/content/common/media/media_stream_options.cc
+++ b/content/common/media/media_stream_options.cc
@@ -27,6 +27,8 @@ TrackControls::TrackControls()
TrackControls::TrackControls(bool request)
: requested(request) {}
+TrackControls::TrackControls(const TrackControls& other) = default;
+
TrackControls::~TrackControls() {}
StreamControls::StreamControls()
diff --git a/content/common/media/media_stream_options.h b/content/common/media/media_stream_options.h
index 4d61d57..b815c60 100644
--- a/content/common/media/media_stream_options.h
+++ b/content/common/media/media_stream_options.h
@@ -36,6 +36,7 @@ struct CONTENT_EXPORT TrackControls {
public:
TrackControls();
TrackControls(bool request);
+ TrackControls(const TrackControls& other);
~TrackControls();
bool requested;
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 6187979..4b7ceb6 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -61,6 +61,9 @@ CommonNavigationParams::CommonNavigationParams(
navigation_start(navigation_start) {
}
+CommonNavigationParams::CommonNavigationParams(
+ const CommonNavigationParams& other) = default;
+
CommonNavigationParams::~CommonNavigationParams() {
}
@@ -84,6 +87,9 @@ BeginNavigationParams::BeginNavigationParams(
skip_service_worker(skip_service_worker),
request_context_type(request_context_type) {}
+BeginNavigationParams::BeginNavigationParams(
+ const BeginNavigationParams& other) = default;
+
StartNavigationParams::StartNavigationParams()
: is_post(false),
#if defined(OS_ANDROID)
@@ -112,6 +118,9 @@ StartNavigationParams::StartNavigationParams(
transferred_request_request_id(transferred_request_request_id) {
}
+StartNavigationParams::StartNavigationParams(
+ const StartNavigationParams& other) = default;
+
StartNavigationParams::~StartNavigationParams() {
}
@@ -166,6 +175,9 @@ RequestNavigationParams::RequestNavigationParams(
should_create_service_worker(false),
service_worker_provider_id(kInvalidServiceWorkerProviderId) {}
+RequestNavigationParams::RequestNavigationParams(
+ const RequestNavigationParams& other) = default;
+
RequestNavigationParams::~RequestNavigationParams() {
}
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 414319d..d288824 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -60,6 +60,7 @@ struct CONTENT_EXPORT CommonNavigationParams {
const GURL& history_url_for_data_url,
LoFiState lofi_state,
const base::TimeTicks& navigation_start);
+ CommonNavigationParams(const CommonNavigationParams& other);
~CommonNavigationParams();
// The URL to navigate to.
@@ -134,6 +135,7 @@ struct CONTENT_EXPORT BeginNavigationParams {
bool has_user_gesture,
bool skip_service_worker,
RequestContextType request_context_type);
+ BeginNavigationParams(const BeginNavigationParams& other);
// The request method: GET, POST, etc.
std::string method;
@@ -179,6 +181,7 @@ struct CONTENT_EXPORT StartNavigationParams {
#endif
int transferred_request_child_id,
int transferred_request_request_id);
+ StartNavigationParams(const StartNavigationParams& other);
~StartNavigationParams();
// Whether the navigation is a POST request (as opposed to a GET).
@@ -224,6 +227,7 @@ struct CONTENT_EXPORT RequestNavigationParams {
int current_history_list_length,
bool is_view_source,
bool should_clear_history_list);
+ RequestNavigationParams(const RequestNavigationParams& other);
~RequestNavigationParams();
// Whether or not the user agent override string should be used.
diff --git a/content/common/page_state_serialization.cc b/content/common/page_state_serialization.cc
index 68974ae..b9670c2 100644
--- a/content/common/page_state_serialization.cc
+++ b/content/common/page_state_serialization.cc
@@ -671,6 +671,9 @@ ExplodedHttpBodyElement::ExplodedHttpBodyElement()
file_modification_time(std::numeric_limits<double>::quiet_NaN()) {
}
+ExplodedHttpBodyElement::ExplodedHttpBodyElement(
+ const ExplodedHttpBodyElement& other) = default;
+
ExplodedHttpBodyElement::~ExplodedHttpBodyElement() {
}
diff --git a/content/common/page_state_serialization.h b/content/common/page_state_serialization.h
index 9b6773c..24d8198 100644
--- a/content/common/page_state_serialization.h
+++ b/content/common/page_state_serialization.h
@@ -32,6 +32,7 @@ struct CONTENT_EXPORT ExplodedHttpBodyElement {
std::string blob_uuid;
ExplodedHttpBodyElement();
+ ExplodedHttpBodyElement(const ExplodedHttpBodyElement& other);
~ExplodedHttpBodyElement();
};
diff --git a/content/common/resize_params.cc b/content/common/resize_params.cc
index 15e40b3..ea9f18f 100644
--- a/content/common/resize_params.cc
+++ b/content/common/resize_params.cc
@@ -13,6 +13,8 @@ ResizeParams::ResizeParams()
display_mode(blink::WebDisplayModeUndefined),
needs_resize_ack(false) {}
+ResizeParams::ResizeParams(const ResizeParams& other) = default;
+
ResizeParams::~ResizeParams() {}
} // namespace content
diff --git a/content/common/resize_params.h b/content/common/resize_params.h
index 23c3031..f9eb07c 100644
--- a/content/common/resize_params.h
+++ b/content/common/resize_params.h
@@ -14,6 +14,7 @@ namespace content {
struct CONTENT_EXPORT ResizeParams {
ResizeParams();
+ ResizeParams(const ResizeParams& other);
~ResizeParams();
// Information about the screen (dpi, depth, etc..).
diff --git a/content/common/service_worker/service_worker_client_info.cc b/content/common/service_worker/service_worker_client_info.cc
index 5019575..a412fa0 100644
--- a/content/common/service_worker/service_worker_client_info.cc
+++ b/content/common/service_worker/service_worker_client_info.cc
@@ -34,6 +34,9 @@ ServiceWorkerClientInfo::ServiceWorkerClientInfo(
last_focus_time(last_focus_time),
client_type(client_type) {}
+ServiceWorkerClientInfo::ServiceWorkerClientInfo(
+ const ServiceWorkerClientInfo& other) = default;
+
bool ServiceWorkerClientInfo::IsEmpty() const {
return page_visibility_state == blink::WebPageVisibilityStateLast &&
is_focused == false &&
diff --git a/content/common/service_worker/service_worker_client_info.h b/content/common/service_worker/service_worker_client_info.h
index c4b6c34..93bfdf447 100644
--- a/content/common/service_worker/service_worker_client_info.h
+++ b/content/common/service_worker/service_worker_client_info.h
@@ -27,6 +27,7 @@ struct ServiceWorkerClientInfo {
RequestContextFrameType frame_type,
base::TimeTicks last_focus_time,
blink::WebServiceWorkerClientType client_type);
+ ServiceWorkerClientInfo(const ServiceWorkerClientInfo& other);
// Returns whether the instance is empty.
bool IsEmpty() const;
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index 3fe66cf..56437d0 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -50,6 +50,9 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
is_reload(is_reload),
fetch_type(ServiceWorkerFetchType::FETCH) {}
+ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
+ const ServiceWorkerFetchRequest& other) = default;
+
ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {}
ServiceWorkerResponse::ServiceWorkerResponse()
@@ -79,6 +82,9 @@ ServiceWorkerResponse::ServiceWorkerResponse(
stream_url(stream_url),
error(error) {}
+ServiceWorkerResponse::ServiceWorkerResponse(
+ const ServiceWorkerResponse& other) = default;
+
ServiceWorkerResponse::~ServiceWorkerResponse() {}
ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index c0d4b8c..e332f1c 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -129,6 +129,7 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
const ServiceWorkerHeaderMap& headers,
const Referrer& referrer,
bool is_reload);
+ ServiceWorkerFetchRequest(const ServiceWorkerFetchRequest& other);
~ServiceWorkerFetchRequest();
FetchRequestMode mode;
@@ -160,6 +161,7 @@ struct CONTENT_EXPORT ServiceWorkerResponse {
uint64_t blob_size,
const GURL& stream_url,
blink::WebServiceWorkerResponseError error);
+ ServiceWorkerResponse(const ServiceWorkerResponse& other);
~ServiceWorkerResponse();
GURL url;
diff --git a/content/common/webplugin_geometry.cc b/content/common/webplugin_geometry.cc
index ff290d2..800f79d 100644
--- a/content/common/webplugin_geometry.cc
+++ b/content/common/webplugin_geometry.cc
@@ -12,6 +12,8 @@ WebPluginGeometry::WebPluginGeometry()
visible(false) {
}
+WebPluginGeometry::WebPluginGeometry(const WebPluginGeometry& other) = default;
+
WebPluginGeometry::~WebPluginGeometry() {
}
diff --git a/content/common/webplugin_geometry.h b/content/common/webplugin_geometry.h
index 7f727a1..7ac99f0 100644
--- a/content/common/webplugin_geometry.h
+++ b/content/common/webplugin_geometry.h
@@ -15,6 +15,7 @@ namespace content {
// Describes the new location for a plugin window.
struct WebPluginGeometry {
WebPluginGeometry();
+ WebPluginGeometry(const WebPluginGeometry& other);
~WebPluginGeometry();
bool Equals(const WebPluginGeometry& rhs) const;
diff --git a/content/public/browser/ax_event_notification_details.cc b/content/public/browser/ax_event_notification_details.cc
index ead942c..703f76f 100644
--- a/content/public/browser/ax_event_notification_details.cc
+++ b/content/public/browser/ax_event_notification_details.cc
@@ -12,6 +12,9 @@ AXEventNotificationDetails::AXEventNotificationDetails()
ax_tree_id(-1) {
}
+AXEventNotificationDetails::AXEventNotificationDetails(
+ const AXEventNotificationDetails& other) = default;
+
AXEventNotificationDetails::~AXEventNotificationDetails() {}
} // namespace content
diff --git a/content/public/browser/ax_event_notification_details.h b/content/public/browser/ax_event_notification_details.h
index 50eeeb0..7054452 100644
--- a/content/public/browser/ax_event_notification_details.h
+++ b/content/public/browser/ax_event_notification_details.h
@@ -19,6 +19,7 @@ namespace content {
struct CONTENT_EXPORT AXEventNotificationDetails {
public:
AXEventNotificationDetails();
+ AXEventNotificationDetails(const AXEventNotificationDetails& other);
~AXEventNotificationDetails();
ui::AXTreeUpdate update;
diff --git a/content/public/browser/navigation_details.cc b/content/public/browser/navigation_details.cc
index 19d6299..88f247f 100644
--- a/content/public/browser/navigation_details.cc
+++ b/content/public/browser/navigation_details.cc
@@ -16,4 +16,7 @@ LoadCommittedDetails::LoadCommittedDetails()
http_status_code(0) {
}
+LoadCommittedDetails::LoadCommittedDetails(const LoadCommittedDetails& other) =
+ default;
+
} // namespace content
diff --git a/content/public/browser/navigation_details.h b/content/public/browser/navigation_details.h
index b344105..dc47387 100644
--- a/content/public/browser/navigation_details.h
+++ b/content/public/browser/navigation_details.h
@@ -22,6 +22,7 @@ struct CONTENT_EXPORT LoadCommittedDetails {
// By default, the entry will be filled according to a new main frame
// navigation.
LoadCommittedDetails();
+ LoadCommittedDetails(const LoadCommittedDetails& other);
// The committed entry. This will be the active entry in the controller.
NavigationEntry* entry;
diff --git a/content/public/browser/page_navigator.cc b/content/public/browser/page_navigator.cc
index c919ee2..40225e1 100644
--- a/content/public/browser/page_navigator.cc
+++ b/content/public/browser/page_navigator.cc
@@ -51,6 +51,8 @@ OpenURLParams::OpenURLParams()
user_gesture(true) {
}
+OpenURLParams::OpenURLParams(const OpenURLParams& other) = default;
+
OpenURLParams::~OpenURLParams() {
}
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index 3e06d56..51f0234 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -37,6 +37,7 @@ struct CONTENT_EXPORT OpenURLParams {
WindowOpenDisposition disposition,
ui::PageTransition transition,
bool is_renderer_initiated);
+ OpenURLParams(const OpenURLParams& other);
~OpenURLParams();
// The URL/referrer to be opened.
diff --git a/content/public/browser/service_worker_usage_info.cc b/content/public/browser/service_worker_usage_info.cc
index 6d72ea3..fdc3830 100644
--- a/content/public/browser/service_worker_usage_info.cc
+++ b/content/public/browser/service_worker_usage_info.cc
@@ -16,6 +16,9 @@ ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin)
ServiceWorkerUsageInfo::ServiceWorkerUsageInfo() : total_size_bytes(0) {
}
+ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(
+ const ServiceWorkerUsageInfo& other) = default;
+
ServiceWorkerUsageInfo::~ServiceWorkerUsageInfo() {
}
diff --git a/content/public/browser/service_worker_usage_info.h b/content/public/browser/service_worker_usage_info.h
index 4c69d95..6e50cc9 100644
--- a/content/public/browser/service_worker_usage_info.h
+++ b/content/public/browser/service_worker_usage_info.h
@@ -19,6 +19,7 @@ struct CONTENT_EXPORT ServiceWorkerUsageInfo {
ServiceWorkerUsageInfo(const GURL& origin, const std::vector<GURL>& scopes);
ServiceWorkerUsageInfo(const GURL& origin);
ServiceWorkerUsageInfo();
+ ServiceWorkerUsageInfo(const ServiceWorkerUsageInfo& other);
~ServiceWorkerUsageInfo();
// The origin this object is describing.
diff --git a/content/public/browser/speech_recognition_session_context.cc b/content/public/browser/speech_recognition_session_context.cc
index b185be8..1e4ae1c 100644
--- a/content/public/browser/speech_recognition_session_context.cc
+++ b/content/public/browser/speech_recognition_session_context.cc
@@ -18,6 +18,9 @@ SpeechRecognitionSessionContext::SpeechRecognitionSessionContext()
request_id(0) {
}
+SpeechRecognitionSessionContext::SpeechRecognitionSessionContext(
+ const SpeechRecognitionSessionContext& other) = default;
+
SpeechRecognitionSessionContext::~SpeechRecognitionSessionContext() {
}
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h
index 9493189..d868c9d 100644
--- a/content/public/browser/speech_recognition_session_context.h
+++ b/content/public/browser/speech_recognition_session_context.h
@@ -22,6 +22,7 @@ namespace content {
// SpeechRecognitionManager::LookupSessionByContext methods).
struct CONTENT_EXPORT SpeechRecognitionSessionContext {
SpeechRecognitionSessionContext();
+ SpeechRecognitionSessionContext(const SpeechRecognitionSessionContext& other);
~SpeechRecognitionSessionContext();
int render_process_id;
diff --git a/content/public/browser/web_contents.cc b/content/public/browser/web_contents.cc
index 1b6d8a6..d4b5fd0 100644
--- a/content/public/browser/web_contents.cc
+++ b/content/public/browser/web_contents.cc
@@ -28,6 +28,8 @@ WebContents::CreateParams::CreateParams(BrowserContext* context,
context(nullptr),
renderer_initiated_creation(false) {}
+WebContents::CreateParams::CreateParams(const CreateParams& other) = default;
+
WebContents::CreateParams::~CreateParams() {
}
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index c1babd6..4f8a3f2 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -89,6 +89,7 @@ class WebContents : public PageNavigator,
public:
struct CONTENT_EXPORT CreateParams {
explicit CreateParams(BrowserContext* context);
+ CreateParams(const CreateParams& other);
~CreateParams();
CreateParams(BrowserContext* context, SiteInstance* site);
diff --git a/content/public/common/appcache_info.h b/content/public/common/appcache_info.h
index 75b5499..a8f186d 100644
--- a/content/public/common/appcache_info.h
+++ b/content/public/common/appcache_info.h
@@ -32,6 +32,7 @@ enum AppCacheStatus {
struct CONTENT_EXPORT AppCacheInfo {
AppCacheInfo();
+ AppCacheInfo(const AppCacheInfo& other);
~AppCacheInfo();
GURL manifest_url;
diff --git a/content/public/common/context_menu_params.cc b/content/public/common/context_menu_params.cc
index ebd5455..e29305b 100644
--- a/content/public/common/context_menu_params.cc
+++ b/content/public/common/context_menu_params.cc
@@ -35,6 +35,8 @@ ContextMenuParams::ContextMenuParams()
input_field_type(blink::WebContextMenuData::InputFieldTypeNone) {
}
+ContextMenuParams::ContextMenuParams(const ContextMenuParams& other) = default;
+
ContextMenuParams::~ContextMenuParams() {
}
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index 46510e8..3bf6fce0 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -54,6 +54,7 @@ struct CONTENT_EXPORT CustomContextMenuContext {
// could be used for more contextual actions.
struct CONTENT_EXPORT ContextMenuParams {
ContextMenuParams();
+ ContextMenuParams(const ContextMenuParams& other);
~ContextMenuParams();
// This is the type of Context Node that the context menu was invoked on.
diff --git a/content/public/common/drop_data.cc b/content/public/common/drop_data.cc
index 5f9466b..c3bb925 100644
--- a/content/public/common/drop_data.cc
+++ b/content/public/common/drop_data.cc
@@ -10,6 +10,8 @@ DropData::DropData()
: did_originate_from_renderer(false),
referrer_policy(blink::WebReferrerPolicyDefault) {}
+DropData::DropData(const DropData& other) = default;
+
DropData::~DropData() {
}
diff --git a/content/public/common/drop_data.h b/content/public/common/drop_data.h
index e589184b..fce6db1 100644
--- a/content/public/common/drop_data.h
+++ b/content/public/common/drop_data.h
@@ -33,6 +33,7 @@ struct CONTENT_EXPORT DropData {
};
DropData();
+ DropData(const DropData& other);
~DropData();
// Whether this drag originated from a renderer.
diff --git a/content/public/common/favicon_url.cc b/content/public/common/favicon_url.cc
index 68ba481b..80debff 100644
--- a/content/public/common/favicon_url.cc
+++ b/content/public/common/favicon_url.cc
@@ -15,6 +15,8 @@ FaviconURL::FaviconURL(const GURL& url,
const std::vector<gfx::Size>& sizes)
: icon_url(url), icon_type(type), icon_sizes(sizes) {}
+FaviconURL::FaviconURL(const FaviconURL& other) = default;
+
FaviconURL::~FaviconURL() {
}
diff --git a/content/public/common/favicon_url.h b/content/public/common/favicon_url.h
index 43770c2..349fc87 100644
--- a/content/public/common/favicon_url.h
+++ b/content/public/common/favicon_url.h
@@ -28,6 +28,7 @@ struct CONTENT_EXPORT FaviconURL {
FaviconURL(const GURL& url,
IconType type,
const std::vector<gfx::Size>& sizes);
+ FaviconURL(const FaviconURL& other);
~FaviconURL();
// The url of the icon.
diff --git a/content/public/common/file_chooser_file_info.cc b/content/public/common/file_chooser_file_info.cc
index 9f9a028..8605b12 100644
--- a/content/public/common/file_chooser_file_info.cc
+++ b/content/public/common/file_chooser_file_info.cc
@@ -9,6 +9,9 @@ namespace content {
FileChooserFileInfo::FileChooserFileInfo() : length(0), is_directory(false) {
}
+FileChooserFileInfo::FileChooserFileInfo(const FileChooserFileInfo& other) =
+ default;
+
FileChooserFileInfo::~FileChooserFileInfo() {
}
diff --git a/content/public/common/file_chooser_file_info.h b/content/public/common/file_chooser_file_info.h
index d2bb5e0..0f33823 100644
--- a/content/public/common/file_chooser_file_info.h
+++ b/content/public/common/file_chooser_file_info.h
@@ -17,6 +17,7 @@ namespace content {
// Result of file chooser.
struct CONTENT_EXPORT FileChooserFileInfo {
FileChooserFileInfo();
+ FileChooserFileInfo(const FileChooserFileInfo& other);
~FileChooserFileInfo();
base::FilePath file_path;
diff --git a/content/public/common/file_chooser_params.cc b/content/public/common/file_chooser_params.cc
index 97de9e3..da1ca6f 100644
--- a/content/public/common/file_chooser_params.cc
+++ b/content/public/common/file_chooser_params.cc
@@ -9,6 +9,8 @@ namespace content {
FileChooserParams::FileChooserParams() : mode(Open), need_local_path(true) {
}
+FileChooserParams::FileChooserParams(const FileChooserParams& other) = default;
+
FileChooserParams::~FileChooserParams() {
}
diff --git a/content/public/common/file_chooser_params.h b/content/public/common/file_chooser_params.h
index ef43f7b..c189785 100644
--- a/content/public/common/file_chooser_params.h
+++ b/content/public/common/file_chooser_params.h
@@ -18,6 +18,7 @@ namespace content {
// Struct used by WebContentsDelegate.
struct CONTENT_EXPORT FileChooserParams {
FileChooserParams();
+ FileChooserParams(const FileChooserParams& other);
~FileChooserParams();
enum Mode {
diff --git a/content/public/common/frame_navigate_params.cc b/content/public/common/frame_navigate_params.cc
index bcc90b5..d15f4c1 100644
--- a/content/public/common/frame_navigate_params.cc
+++ b/content/public/common/frame_navigate_params.cc
@@ -15,6 +15,9 @@ FrameNavigateParams::FrameNavigateParams()
should_update_history(false) {
}
+FrameNavigateParams::FrameNavigateParams(const FrameNavigateParams& other) =
+ default;
+
FrameNavigateParams::~FrameNavigateParams() {
}
diff --git a/content/public/common/frame_navigate_params.h b/content/public/common/frame_navigate_params.h
index 2c80fd2..3b8dd90 100644
--- a/content/public/common/frame_navigate_params.h
+++ b/content/public/common/frame_navigate_params.h
@@ -21,6 +21,7 @@ namespace content {
// Struct used by WebContentsObserver.
struct CONTENT_EXPORT FrameNavigateParams {
FrameNavigateParams();
+ FrameNavigateParams(const FrameNavigateParams& other);
~FrameNavigateParams();
// Page ID of this navigation. The renderer creates a new unique page ID
diff --git a/content/public/common/geoposition.cc b/content/public/common/geoposition.cc
index 3a0f1f0..d885d4e 100644
--- a/content/public/common/geoposition.cc
+++ b/content/public/common/geoposition.cc
@@ -29,6 +29,8 @@ Geoposition::Geoposition()
error_code(ERROR_CODE_NONE) {
}
+Geoposition::Geoposition(const Geoposition& other) = default;
+
bool Geoposition::Validate() const {
return latitude >= -90. && latitude <= 90. &&
longitude >= -180. && longitude <= 180. &&
diff --git a/content/public/common/geoposition.h b/content/public/common/geoposition.h
index 0bcb839..23b2907 100644
--- a/content/public/common/geoposition.h
+++ b/content/public/common/geoposition.h
@@ -32,6 +32,8 @@ struct CONTENT_EXPORT Geoposition {
// error code is set to ERROR_CODE_NONE.
Geoposition();
+ Geoposition(const Geoposition& other);
+
// A valid fix has a valid latitude, longitude, accuracy and timestamp.
bool Validate() const;
diff --git a/content/public/common/manifest.cc b/content/public/common/manifest.cc
index 744be0e..e38a904 100644
--- a/content/public/common/manifest.cc
+++ b/content/public/common/manifest.cc
@@ -19,6 +19,8 @@ Manifest::Icon::Icon()
: density(kDefaultDensity) {
}
+Manifest::Icon::Icon(const Icon& other) = default;
+
Manifest::Icon::~Icon() {
}
@@ -36,6 +38,8 @@ Manifest::Manifest()
background_color(Manifest::kInvalidOrMissingColor) {
}
+Manifest::Manifest(const Manifest& other) = default;
+
Manifest::~Manifest() {
}
diff --git a/content/public/common/manifest.h b/content/public/common/manifest.h
index 35671b8..7dc15ca 100644
--- a/content/public/common/manifest.h
+++ b/content/public/common/manifest.h
@@ -27,6 +27,7 @@ struct CONTENT_EXPORT Manifest {
// http://w3c.github.io/manifest/#dfn-icon-object
struct CONTENT_EXPORT Icon {
Icon();
+ Icon(const Icon& other);
~Icon();
// MUST be a valid url. If an icon doesn't have a valid URL, it will not be
@@ -71,6 +72,7 @@ struct CONTENT_EXPORT Manifest {
};
Manifest();
+ Manifest(const Manifest& other);
~Manifest();
// Returns whether this Manifest had no attribute set. A newly created
diff --git a/content/public/common/media_stream_request.cc b/content/public/common/media_stream_request.cc
index 72a4b16..d1dd847e 100644
--- a/content/public/common/media_stream_request.cc
+++ b/content/public/common/media_stream_request.cc
@@ -57,6 +57,8 @@ MediaStreamDevice::MediaStreamDevice(
input(sample_rate, channel_layout, frames_per_buffer) {
}
+MediaStreamDevice::MediaStreamDevice(const MediaStreamDevice& other) = default;
+
MediaStreamDevice::~MediaStreamDevice() {}
bool MediaStreamDevice::IsEqual(const MediaStreamDevice& second) const {
@@ -96,6 +98,9 @@ MediaStreamDevice::AudioDeviceParameters::AudioDeviceParameters(
frames_per_buffer(frames_per_buffer),
effects() {}
+MediaStreamDevice::AudioDeviceParameters::AudioDeviceParameters(
+ const AudioDeviceParameters& other) = default;
+
MediaStreamDevice::AudioDeviceParameters::~AudioDeviceParameters() {}
MediaStreamRequest::MediaStreamRequest(
@@ -122,6 +127,9 @@ MediaStreamRequest::MediaStreamRequest(
all_ancestors_have_same_origin(false) {
}
+MediaStreamRequest::MediaStreamRequest(const MediaStreamRequest& other) =
+ default;
+
MediaStreamRequest::~MediaStreamRequest() {}
} // namespace content
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
index c4b6a7e..7486fd5 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -106,6 +106,8 @@ struct CONTENT_EXPORT MediaStreamDevice {
int channel_layout,
int frames_per_buffer);
+ MediaStreamDevice(const MediaStreamDevice& other);
+
~MediaStreamDevice();
bool IsEqual(const MediaStreamDevice& second) const;
@@ -134,6 +136,7 @@ struct CONTENT_EXPORT MediaStreamDevice {
AudioDeviceParameters(int sample_rate,
int channel_layout,
int frames_per_buffer);
+ AudioDeviceParameters(const AudioDeviceParameters& other);
~AudioDeviceParameters();
@@ -203,6 +206,8 @@ struct CONTENT_EXPORT MediaStreamRequest {
MediaStreamType audio_type,
MediaStreamType video_type);
+ MediaStreamRequest(const MediaStreamRequest& other);
+
~MediaStreamRequest();
// This is the render process id for the renderer associated with generating
diff --git a/content/public/common/notification_resources.cc b/content/public/common/notification_resources.cc
index b4ea9ab..75619a0 100644
--- a/content/public/common/notification_resources.cc
+++ b/content/public/common/notification_resources.cc
@@ -8,6 +8,9 @@ namespace content {
NotificationResources::NotificationResources() {}
+NotificationResources::NotificationResources(
+ const NotificationResources& other) = default;
+
NotificationResources::~NotificationResources() {}
} // namespace content
diff --git a/content/public/common/notification_resources.h b/content/public/common/notification_resources.h
index 23c5477..c3b938d 100644
--- a/content/public/common/notification_resources.h
+++ b/content/public/common/notification_resources.h
@@ -15,6 +15,7 @@ namespace content {
// Structure to hold the resources associated with a Web Notification.
struct CONTENT_EXPORT NotificationResources {
NotificationResources();
+ NotificationResources(const NotificationResources& other);
~NotificationResources();
// Main icon for the notification. The bitmap may be empty if the developer
diff --git a/content/public/common/pepper_plugin_info.cc b/content/public/common/pepper_plugin_info.cc
index 25b00c3..03f83fd 100644
--- a/content/public/common/pepper_plugin_info.cc
+++ b/content/public/common/pepper_plugin_info.cc
@@ -21,6 +21,8 @@ PepperPluginInfo::PepperPluginInfo()
permissions(0) {
}
+PepperPluginInfo::PepperPluginInfo(const PepperPluginInfo& other) = default;
+
PepperPluginInfo::~PepperPluginInfo() {
}
diff --git a/content/public/common/pepper_plugin_info.h b/content/public/common/pepper_plugin_info.h
index 253d821..34dc486 100644
--- a/content/public/common/pepper_plugin_info.h
+++ b/content/public/common/pepper_plugin_info.h
@@ -37,6 +37,7 @@ struct CONTENT_EXPORT PepperPluginInfo {
};
PepperPluginInfo();
+ PepperPluginInfo(const PepperPluginInfo& other);
~PepperPluginInfo();
WebPluginInfo ToWebPluginInfo() const;
diff --git a/content/public/common/platform_notification_data.cc b/content/public/common/platform_notification_data.cc
index dba6c16..8c4d131 100644
--- a/content/public/common/platform_notification_data.cc
+++ b/content/public/common/platform_notification_data.cc
@@ -12,6 +12,9 @@ PlatformNotificationAction::~PlatformNotificationAction() {}
PlatformNotificationData::PlatformNotificationData() {}
+PlatformNotificationData::PlatformNotificationData(
+ const PlatformNotificationData& other) = default;
+
PlatformNotificationData::~PlatformNotificationData() {}
} // namespace content
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index defb7aa..a704efa 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -37,6 +37,7 @@ struct CONTENT_EXPORT PlatformNotificationAction {
// synchronized with the WebNotificationData structure defined in the Blink API.
struct CONTENT_EXPORT PlatformNotificationData {
PlatformNotificationData();
+ PlatformNotificationData(const PlatformNotificationData& other);
~PlatformNotificationData();
// The maximum size of developer-provided data to be stored in the |data|
diff --git a/content/public/common/renderer_preferences.cc b/content/public/common/renderer_preferences.cc
index 9bb824c..2a9f8676 100644
--- a/content/public/common/renderer_preferences.cc
+++ b/content/public/common/renderer_preferences.cc
@@ -52,6 +52,9 @@ RendererPreferences::RendererPreferences()
, default_font_size(0)
{}
+RendererPreferences::RendererPreferences(const RendererPreferences& other) =
+ default;
+
RendererPreferences::~RendererPreferences() { }
} // namespace content
diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h
index 975394a..2b085ae 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -35,6 +35,7 @@ enum TapMultipleTargetsStrategy {
struct CONTENT_EXPORT RendererPreferences {
RendererPreferences();
+ RendererPreferences(const RendererPreferences& other);
~RendererPreferences();
// Whether the renderer's current browser context accept drops from the OS
diff --git a/content/public/common/resource_response_info.cc b/content/public/common/resource_response_info.cc
index f05ee19..39131cf 100644
--- a/content/public/common/resource_response_info.cc
+++ b/content/public/common/resource_response_info.cc
@@ -25,6 +25,9 @@ ResourceResponseInfo::ResourceResponseInfo()
blink::WebServiceWorkerResponseTypeDefault),
is_using_lofi(false) {}
+ResourceResponseInfo::ResourceResponseInfo(const ResourceResponseInfo& other) =
+ default;
+
ResourceResponseInfo::~ResourceResponseInfo() {
}
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index e7b7c7a..340407e 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -27,6 +27,7 @@ namespace content {
// in resource_response.cc.
struct ResourceResponseInfo {
CONTENT_EXPORT ResourceResponseInfo();
+ CONTENT_EXPORT ResourceResponseInfo(const ResourceResponseInfo& other);
CONTENT_EXPORT ~ResourceResponseInfo();
// The time at which the request was made that resulted in this response.
diff --git a/content/public/common/speech_recognition_result.cc b/content/public/common/speech_recognition_result.cc
index af05fc7..9f4c2ca 100644
--- a/content/public/common/speech_recognition_result.cc
+++ b/content/public/common/speech_recognition_result.cc
@@ -10,6 +10,9 @@ SpeechRecognitionResult::SpeechRecognitionResult()
: is_provisional(false) {
}
+SpeechRecognitionResult::SpeechRecognitionResult(
+ const SpeechRecognitionResult& other) = default;
+
SpeechRecognitionResult::~SpeechRecognitionResult() {
}
diff --git a/content/public/common/speech_recognition_result.h b/content/public/common/speech_recognition_result.h
index 980abdd..6c3f2ab 100644
--- a/content/public/common/speech_recognition_result.h
+++ b/content/public/common/speech_recognition_result.h
@@ -33,6 +33,7 @@ struct CONTENT_EXPORT SpeechRecognitionResult {
bool is_provisional;
SpeechRecognitionResult();
+ SpeechRecognitionResult(const SpeechRecognitionResult& other);
~SpeechRecognitionResult();
};
diff --git a/content/public/common/ssl_status.cc b/content/public/common/ssl_status.cc
index eaaed41..3490a81 100644
--- a/content/public/common/ssl_status.cc
+++ b/content/public/common/ssl_status.cc
@@ -32,6 +32,8 @@ SSLStatus::SSLStatus(SecurityStyle security_style,
content_status(NORMAL_CONTENT),
signed_certificate_timestamp_ids(signed_certificate_timestamp_ids) {}
+SSLStatus::SSLStatus(const SSLStatus& other) = default;
+
SSLStatus::~SSLStatus() {}
} // namespace content
diff --git a/content/public/common/ssl_status.h b/content/public/common/ssl_status.h
index bb3501c..79c4ef4 100644
--- a/content/public/common/ssl_status.h
+++ b/content/public/common/ssl_status.h
@@ -39,6 +39,7 @@ struct CONTENT_EXPORT SSLStatus {
const SignedCertificateTimestampIDStatusList&
signed_certificate_timestamp_ids,
const net::SSLInfo& ssl_info);
+ SSLStatus(const SSLStatus& other);
~SSLStatus();
bool Equals(const SSLStatus& status) const {
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index 34ad738..d44642f 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -208,6 +208,8 @@ WebPreferences::WebPreferences()
base::ASCIIToUTF16("Times New Roman");
}
+WebPreferences::WebPreferences(const WebPreferences& other) = default;
+
WebPreferences::~WebPreferences() {
}
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index cfae632..636f7a2 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -227,6 +227,7 @@ struct CONTENT_EXPORT WebPreferences {
// chrome, except for the cases where it would require lots of extra work for
// the embedder to use the same default value.
WebPreferences();
+ WebPreferences(const WebPreferences& other);
~WebPreferences();
};
diff --git a/content/public/common/webplugininfo.cc b/content/public/common/webplugininfo.cc
index 95a7bfc..6546afd 100644
--- a/content/public/common/webplugininfo.cc
+++ b/content/public/common/webplugininfo.cc
@@ -27,6 +27,8 @@ WebPluginMimeType::WebPluginMimeType(const std::string& m,
file_extensions.push_back(f);
}
+WebPluginMimeType::WebPluginMimeType(const WebPluginMimeType& other) = default;
+
WebPluginMimeType::~WebPluginMimeType() {}
WebPluginInfo::WebPluginInfo()
diff --git a/content/public/common/webplugininfo.h b/content/public/common/webplugininfo.h
index f487a4e..3d5feee 100644
--- a/content/public/common/webplugininfo.h
+++ b/content/public/common/webplugininfo.h
@@ -26,6 +26,7 @@ struct CONTENT_EXPORT WebPluginMimeType {
WebPluginMimeType(const std::string& m,
const std::string& f,
const std::string& d);
+ WebPluginMimeType(const WebPluginMimeType& other);
~WebPluginMimeType();
// The name of the mime type (e.g., "application/x-shockwave-flash").
diff --git a/content/renderer/media/audio_renderer_mixer_manager.cc b/content/renderer/media/audio_renderer_mixer_manager.cc
index 23b67a6..309eaa8 100644
--- a/content/renderer/media/audio_renderer_mixer_manager.cc
+++ b/content/renderer/media/audio_renderer_mixer_manager.cc
@@ -174,4 +174,6 @@ AudioRendererMixerManager::MixerKey::MixerKey(
device_id(device_id),
security_origin(security_origin) {}
+AudioRendererMixerManager::MixerKey::MixerKey(const MixerKey& other) = default;
+
} // namespace content
diff --git a/content/renderer/media/audio_renderer_mixer_manager.h b/content/renderer/media/audio_renderer_mixer_manager.h
index d33dbc3..8b13388 100644
--- a/content/renderer/media/audio_renderer_mixer_manager.h
+++ b/content/renderer/media/audio_renderer_mixer_manager.h
@@ -80,6 +80,7 @@ class CONTENT_EXPORT AudioRendererMixerManager {
const media::AudioParameters& params,
const std::string& device_id,
const url::Origin& security_origin);
+ MixerKey(const MixerKey& other);
int source_render_frame_id;
media::AudioParameters params;
std::string device_id;
diff --git a/content/renderer/media/media_stream_video_source.cc b/content/renderer/media/media_stream_video_source.cc
index 942d248..c0094b9 100644
--- a/content/renderer/media/media_stream_video_source.cc
+++ b/content/renderer/media/media_stream_video_source.cc
@@ -576,6 +576,9 @@ MediaStreamVideoSource::TrackDescriptor::TrackDescriptor(
callback(callback) {
}
+MediaStreamVideoSource::TrackDescriptor::TrackDescriptor(
+ const TrackDescriptor& other) = default;
+
MediaStreamVideoSource::TrackDescriptor::~TrackDescriptor() {
}
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index cd40375..e86a7d1 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -164,6 +164,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
const VideoCaptureDeliverFrameCB& frame_callback,
const blink::WebMediaConstraints& constraints,
const ConstraintsCallback& callback);
+ TrackDescriptor(const TrackDescriptor& other);
~TrackDescriptor();
MediaStreamVideoTrack* track;
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index 8e50ede..bef9f3be 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -101,6 +101,7 @@ class VideoCaptureImpl::ClientBuffer2
};
VideoCaptureImpl::ClientInfo::ClientInfo() {}
+VideoCaptureImpl::ClientInfo::ClientInfo(const ClientInfo& other) = default;
VideoCaptureImpl::ClientInfo::~ClientInfo() {}
VideoCaptureImpl::VideoCaptureImpl(
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index cd2a809..c320775 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -96,6 +96,7 @@ class CONTENT_EXPORT VideoCaptureImpl
// for capturing and callbacks to the client.
struct ClientInfo {
ClientInfo();
+ ClientInfo(const ClientInfo& other);
~ClientInfo();
media::VideoCaptureParams params;
VideoCaptureStateUpdateCB state_update_cb;
diff --git a/content/renderer/media/webrtc_identity_service.cc b/content/renderer/media/webrtc_identity_service.cc
index c38d192..16cdd99 100644
--- a/content/renderer/media/webrtc_identity_service.cc
+++ b/content/renderer/media/webrtc_identity_service.cc
@@ -20,6 +20,9 @@ WebRTCIdentityService::RequestInfo::RequestInfo(
success_callback(success_callback),
failure_callback(failure_callback) {}
+WebRTCIdentityService::RequestInfo::RequestInfo(const RequestInfo& other) =
+ default;
+
WebRTCIdentityService::RequestInfo::~RequestInfo() {}
WebRTCIdentityService::WebRTCIdentityService() : next_request_id_(1) {
diff --git a/content/renderer/media/webrtc_identity_service.h b/content/renderer/media/webrtc_identity_service.h
index 6092f8a..927700d 100644
--- a/content/renderer/media/webrtc_identity_service.h
+++ b/content/renderer/media/webrtc_identity_service.h
@@ -69,6 +69,7 @@ class CONTENT_EXPORT WebRTCIdentityService : public RenderProcessObserver {
RequestInfo(const WebRTCIdentityMsg_RequestIdentity_Params& params,
const SuccessCallback& success_callback,
const FailureCallback& failure_callback);
+ RequestInfo(const RequestInfo& other);
~RequestInfo();
WebRTCIdentityMsg_RequestIdentity_Params params;
diff --git a/content/renderer/pepper/pepper_broker.cc b/content/renderer/pepper/pepper_broker.cc
index b1e0626..0869e80 100644
--- a/content/renderer/pepper/pepper_broker.cc
+++ b/content/renderer/pepper/pepper_broker.cc
@@ -208,6 +208,9 @@ void PepperBroker::OnBrokerPermissionResult(PPB_Broker_Impl* client,
PepperBroker::PendingConnection::PendingConnection() : is_authorized(false) {}
+PepperBroker::PendingConnection::PendingConnection(
+ const PendingConnection& other) = default;
+
PepperBroker::PendingConnection::~PendingConnection() {}
void PepperBroker::ReportFailureToClients(int error_code) {
diff --git a/content/renderer/pepper/pepper_broker.h b/content/renderer/pepper/pepper_broker.h
index 1140d4e..fda0045 100644
--- a/content/renderer/pepper/pepper_broker.h
+++ b/content/renderer/pepper/pepper_broker.h
@@ -72,6 +72,7 @@ class PepperBroker : public base::RefCountedThreadSafe<PepperBroker> {
struct PendingConnection {
PendingConnection();
+ PendingConnection(const PendingConnection& other);
~PendingConnection();
bool is_authorized;
diff --git a/content/renderer/pepper/pepper_compositor_host.cc b/content/renderer/pepper/pepper_compositor_host.cc
index 939cd98..3225424 100644
--- a/content/renderer/pepper/pepper_compositor_host.cc
+++ b/content/renderer/pepper/pepper_compositor_host.cc
@@ -145,6 +145,8 @@ PepperCompositorHost::LayerData::LayerData(
const scoped_refptr<cc::Layer>& cc,
const ppapi::CompositorLayerData& pp) : cc_layer(cc), pp_layer(pp) {}
+PepperCompositorHost::LayerData::LayerData(const LayerData& other) = default;
+
PepperCompositorHost::LayerData::~LayerData() {}
PepperCompositorHost::PepperCompositorHost(
diff --git a/content/renderer/pepper/pepper_compositor_host.h b/content/renderer/pepper/pepper_compositor_host.h
index fab6417..599f3469 100644
--- a/content/renderer/pepper/pepper_compositor_host.h
+++ b/content/renderer/pepper/pepper_compositor_host.h
@@ -91,6 +91,7 @@ class PepperCompositorHost : public ppapi::host::ResourceHost {
struct LayerData {
LayerData(const scoped_refptr<cc::Layer>& cc,
const ppapi::CompositorLayerData& pp);
+ LayerData(const LayerData& other);
~LayerData();
scoped_refptr<cc::Layer> cc_layer;
diff --git a/content/renderer/pepper/pepper_video_capture_host.cc b/content/renderer/pepper/pepper_video_capture_host.cc
index 4e08661..e960474 100644
--- a/content/renderer/pepper/pepper_video_capture_host.cc
+++ b/content/renderer/pepper/pepper_video_capture_host.cc
@@ -412,6 +412,9 @@ PepperVideoCaptureHost::BufferInfo::BufferInfo()
: in_use(false), data(NULL), buffer() {
}
+PepperVideoCaptureHost::BufferInfo::BufferInfo(const BufferInfo& other) =
+ default;
+
PepperVideoCaptureHost::BufferInfo::~BufferInfo() {
}
diff --git a/content/renderer/pepper/pepper_video_capture_host.h b/content/renderer/pepper/pepper_video_capture_host.h
index 01d678b..5a2dead 100644
--- a/content/renderer/pepper/pepper_video_capture_host.h
+++ b/content/renderer/pepper/pepper_video_capture_host.h
@@ -95,6 +95,7 @@ class PepperVideoCaptureHost : public ppapi::host::ResourceHost {
// Buffers of video frame.
struct BufferInfo {
BufferInfo();
+ BufferInfo(const BufferInfo& other);
~BufferInfo();
bool in_use;
diff --git a/content/renderer/pepper/plugin_power_saver_helper.cc b/content/renderer/pepper/plugin_power_saver_helper.cc
index 10f0954..36d65e3 100644
--- a/content/renderer/pepper/plugin_power_saver_helper.cc
+++ b/content/renderer/pepper/plugin_power_saver_helper.cc
@@ -33,6 +33,9 @@ PluginPowerSaverHelper::PeripheralPlugin::PeripheralPlugin(
: content_origin(content_origin),
unthrottle_callback(unthrottle_callback) {}
+PluginPowerSaverHelper::PeripheralPlugin::PeripheralPlugin(
+ const PeripheralPlugin& other) = default;
+
PluginPowerSaverHelper::PeripheralPlugin::~PeripheralPlugin() {
}
diff --git a/content/renderer/pepper/plugin_power_saver_helper.h b/content/renderer/pepper/plugin_power_saver_helper.h
index 95fbc88..2f3bb44 100644
--- a/content/renderer/pepper/plugin_power_saver_helper.h
+++ b/content/renderer/pepper/plugin_power_saver_helper.h
@@ -37,6 +37,7 @@ class CONTENT_EXPORT PluginPowerSaverHelper : public RenderFrameObserver {
struct PeripheralPlugin {
PeripheralPlugin(const url::Origin& content_origin,
const base::Closure& unthrottle_callback);
+ PeripheralPlugin(const PeripheralPlugin& other);
~PeripheralPlugin();
url::Origin content_origin;