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

Unified Diff: components/storage_monitor/volume_mount_watcher_win.h

Issue 573133003: Code re-factor related to WeakPtrFactory in src/component module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: components/storage_monitor/volume_mount_watcher_win.h
diff --git a/components/storage_monitor/volume_mount_watcher_win.h b/components/storage_monitor/volume_mount_watcher_win.h
index 5e5f05a5e94ce14ed8f6f06658bb6487d635d768..48f3741628786f568a43fb20a49bd7a95dc033db 100644
--- a/components/storage_monitor/volume_mount_watcher_win.h
+++ b/components/storage_monitor/volume_mount_watcher_win.h
@@ -112,12 +112,12 @@ class VolumeMountWatcherWin {
// thread.
MountPointDeviceMetadataMap device_metadata_;
- base::WeakPtrFactory<VolumeMountWatcherWin> weak_factory_;
-
// The notifications object to use to signal newly attached volumes. Only
// removable devices will be notified.
StorageMonitor::Receiver* notifications_;
+ base::WeakPtrFactory<VolumeMountWatcherWin> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(VolumeMountWatcherWin);
};
« no previous file with comments | « components/policy/core/common/async_policy_provider.h ('k') | components/storage_monitor/volume_mount_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698