summaryrefslogtreecommitdiffstats
path: root/components/storage_monitor/storage_info.h
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-02-25 15:55:40 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-25 23:56:46 +0000
commitb6449d51ce2b1140e763a79b2ca453f3ccedeeac (patch)
tree618db0f8e5315b69b0880278398a4f38513fbb13 /components/storage_monitor/storage_info.h
parent1f354ca0573b81547e0921f2a015915a7ccc3dbd (diff)
downloadchromium_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.h1
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