diff options
author | vmpstr <vmpstr@chromium.org> | 2016-02-25 15:55:40 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 23:56:46 +0000 |
commit | b6449d51ce2b1140e763a79b2ca453f3ccedeeac (patch) | |
tree | 618db0f8e5315b69b0880278398a4f38513fbb13 /components/storage_monitor/storage_info.h | |
parent | 1f354ca0573b81547e0921f2a015915a7ccc3dbd (diff) | |
download | chromium_src-b6449d51ce2b1140e763a79b2ca453f3ccedeeac.zip chromium_src-b6449d51ce2b1140e763a79b2ca453f3ccedeeac.tar.gz chromium_src-b6449d51ce2b1140e763a79b2ca453f3ccedeeac.tar.bz2 |
components: 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=jochen@chromium.org, dcheng@chromium.org, thakis@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1728033002
Cr-Commit-Position: refs/heads/master@{#377717}
Diffstat (limited to 'components/storage_monitor/storage_info.h')
-rw-r--r-- | components/storage_monitor/storage_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/storage_monitor/storage_info.h b/components/storage_monitor/storage_info.h index d10e445..fc7d520 100644 --- a/components/storage_monitor/storage_info.h +++ b/components/storage_monitor/storage_info.h @@ -41,6 +41,7 @@ class StorageInfo { const base::string16& vendor, const base::string16& model, uint64_t size_in_bytes); + StorageInfo(const StorageInfo& other); ~StorageInfo(); // Returns a device id given properties of the device. A prefix dependent on |