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

Unified Diff: chrome/browser/storage_monitor/storage_info.cc

Issue 15294020: StorageMonitor: Make StorageInfo a real class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address nits Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/storage_monitor/storage_info.h ('k') | chrome/browser/storage_monitor/storage_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/storage_monitor/storage_info.cc
===================================================================
--- chrome/browser/storage_monitor/storage_info.cc (revision 201619)
+++ chrome/browser/storage_monitor/storage_info.cc (working copy)
@@ -20,7 +20,7 @@
} // namespace
-StorageInfo::StorageInfo() : total_size_in_bytes(0) {
+StorageInfo::StorageInfo() : total_size_in_bytes_(0) {
}
StorageInfo::StorageInfo(const std::string& device_id_in,
@@ -30,13 +30,13 @@
const string16& vendor,
const string16& model,
uint64 size_in_bytes)
- : device_id(device_id_in),
- name(device_name),
- location(device_location),
- storage_label(label),
- vendor_name(vendor),
- model_name(model),
- total_size_in_bytes(size_in_bytes) {
+ : device_id_(device_id_in),
+ name_(device_name),
+ location_(device_location),
+ storage_label_(label),
+ vendor_name_(vendor),
+ model_name_(model),
+ total_size_in_bytes_(size_in_bytes) {
}
StorageInfo::~StorageInfo() {
« no previous file with comments | « chrome/browser/storage_monitor/storage_info.h ('k') | chrome/browser/storage_monitor/storage_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698